/* ==========================================================================
   SECTION 1: GLOBAL RESETS & VIEWPORT LOCK (100% Mobile & Desktop Safe)
   ========================================================================== */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body { 
    width: 100%;
    min-width: 100%;
    overflow-x: hidden; /* Strictly prevents horizontal blowout */
    background-color: #f2f2f2; 
    font-family: Arial, Helvetica, sans-serif; 
    color: #333333;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   SECTION 2: CORE LAYOUT WRAPPER (Auto-Centered Lock)
   ========================================================================== */
.main-wrapper { 
    max-width: 1000px; 
    width: 100%;
    margin: 0 auto; 
    background: #ffffff; 
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    overflow-x: hidden; /* Locks child content inside the container */
    position: relative;
}

/* 3. Unified Header (Compact 42px Height) */
header {
    background: #eeeeee;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    height: 42px; /* Reduced from 50px */
    position: relative; 
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}

.logo-text {
    font-size: 17px;
    font-weight: 800;
    color: #000000; 
    text-decoration: none;
    white-space: nowrap;
}

/* 4. Menu Toggle Button */
.menu-toggle {
    background: none;
    color: #000000;
    border: none;
    padding: 3px 6px;
    cursor: pointer;
    font-size: 22px; /* Compact & clean */
    display: flex; 
    align-items: center;
    line-height: 1;
}

/* 5. Primary Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -290px;
    width: 290px;
    height: 100%;
    background: #f9fafb;
    box-shadow: -4px 0 18px rgba(0,0,0,0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
}

.sidebar.active { 
    right: 0; 
}

/* Compact Menu Header Bar */
.sidebar-header {
    padding: 0 14px;
    background: #1e293b;
    color: #ffffff;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    height: 42px; /* Reduced to 42px */
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #0f172a;
}

.close-btn { 
    background: none; 
    border: none; 
    color: #ffffff; 
    font-size: 24px; 
    cursor: pointer; 
    line-height: 1;
    padding: 2px 6px;
    transition: opacity 0.2s ease;
}
.close-btn:hover {
    opacity: 0.8;
}

/* 6. Main Menu Items */
.close-btn { 
    background: none; 
    border: none; 
    color: #ffffff; 
    font-size: 28px; 
    cursor: pointer; 
    line-height: 1;
    padding: 2px 6px;
    transition: opacity 0.2s ease;
}
.close-btn:hover {
    opacity: 0.8;
}

.sidebar ul { 
    list-style: none; 
    margin: 0;
    padding: 0;
}

.sidebar li { 
    border-bottom: 1px solid #e5e7eb;
}

.sidebar li a { 
    display: flex; 
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px; 
    color: #374151;
    text-decoration: none; 
    font-weight: 600; 
    font-size: 14.5px;
    background: #f9fafb;
    transition: background 0.15s ease, color 0.15s ease;
}

.sidebar li a:hover {
    background: #f3f4f6;
    color: #111827;
}

/* 7. Accordion & Submenu */
/* Open parent item */
.sidebar li.has-sub.open > a {
    background: #e5e7eb !important;
    color: #111827 !important;
    font-weight: 700;
    border-bottom: 1px solid #d1d5db;
}

/* Dropdown arrow icon */
.drop-icon {
    width: 11px;
    height: 11px;
    transition: transform 0.25s ease;
    color: #4b5563;
}

.has-sub.open > a .drop-icon {
    transform: rotate(180deg);
    color: #111827;
}

/* Submenu container */
.submenu {
    background: #ffffff !important;
    display: none; 
    border-bottom: 1px solid #e5e7eb;
}

.has-sub.open .submenu {
    display: block;
}

/* Submenu links */
.submenu li {
    border-bottom: 1px solid #f3f4f6;
}
.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    padding: 11px 18px 11px 32px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
    background: #ffffff !important;
}

.submenu a:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
}

/* 8. OVERLAY (BACKDROP) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1500;
}

.overlay.active { 
    display: block; 
}

/* --- 9. TYPOGRAPHY (TRIMMED COMPACT TOP SPACES) --- */
h1 { 
    font-size: 18px; 
    text-align: center; 
    margin: 6px 10px 2px 10px; /* Reduced from 15px to 6px */
    color: #000; 
    font-weight: 700; 
}
h2 { font-size: 17px; color: #111; font-weight: 700; margin: 15px 0 8px 0; text-align: left; }
h3 { font-size: 16px; color: #222; font-weight: 600; margin: 12px 0 6px 0; text-align: left; }
h4 { font-size: 15px; color: #333; font-weight: 600; margin: 8px 0; text-align: left; }

/* --- 10. LIVE CLOCK (COMPACT US ET CLOCK) --- */
.live-clock-box { 
    font-size: 12.5px; 
    color: #b71c1c; 
    font-weight: bold; 
    text-align: center; 
    padding: 2px;             /* Reduced padding */
    margin-bottom: 2px;       /* Reduced gap */
}

/* --- 11. NAVIGATION SPACING (TIGHTER QUICK LINKS) --- */
.nav-center { 
    text-align: center; 
    margin: 2px 0;            /* Tight 2px margin */
}
.nav-center a { 
    color: #0066cc; 
    text-decoration: underline; 
    font-weight: bold; 
    font-size: 13px; 
    padding: 1px 4px; 
}
.nav-center span { 
    color: #ccc; 
    font-weight: normal; 
}

/* 12. SCROLLER LOGIC (MONTH/YEAR NAVIGATION) */
/* Logic: < Prev Active Next > where Active is Lite Blue Box */
.scroller {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    user-select: none;
    font-size: 14px;
}

.scroller a { 
    text-decoration: underline; /* Links are underlined */
    color: #0066cc; 
    font-weight: 500; 
    padding: 3px 8px;
}

.scroller span {
    color: #333;
    font-weight: bold;
    text-decoration: none !important; /* Arrows and Active text not underlined */
    padding: 0 5px;
    cursor: pointer;
}

.scroller .active-item { 
    background: #e3f2fd; /* Lite Blue Box */
    color: #01579b;
    text-decoration: none !important; 
    font-weight: bold;
    border: 1px solid #bbdefb;
    border-radius: 3px;
    padding: 3px 10px;
}

/* 13. FEDERAL HOLIDAY LIST (3-COLUMN GRID) */
.holiday-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px 20px;
    padding: 20px 0;
}

.holiday-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
}

.h-date {
    color: #b71c1c; 
    font-weight: 400; 
    white-space: nowrap;
    min-width: 45px;
    text-align: right;
}

/* 14. PROFESSIONAL GRID (Small & Center Aligned) */
/* Specific colors: Medium Grey headers, Lite White day areas */
.calendar-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; /* Center aligned for mobile and desktop */
    gap: 15px; 
    padding: 10px; 
}

.month-box { 
    width: 210px; /* Small width */
    border: 1px solid #999; 
    background: #fafafa; /* Lite White background for day area */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.month-title { 
    background: #e2e8f0; /* Soft Blue/Grey title background */
    color: #1e293b; 
    padding: 6px; 
    font-weight: 400; /* No bold month names */
    font-size: 18px; 
    text-align: center; 
    border-bottom: 1px solid #999; 
}

.grid-table { width: 100%; border-collapse: collapse; text-align: center; table-layout: fixed; }

.grid-table th { 
    font-size: 11px; 
    color: #333; 
    font-weight: normal; 
    padding: 5px 0;
    background: #d1d5db; /* Medium Grey header background */
    border-bottom: 1px solid #999;
}

.grid-table td { padding: 4px 0; font-size: 14px; color: #000; }

.grid-sunday, .grid-holiday { color: #b71c1c !important; } 
.grid-saturday { color: #555 !important; } 
.grid-today { background: #fff59d !important; outline: 1px solid #fbc02d; }

/* Moon phases area - horizontal at bottom with medium grey background */
.moon-row { 
    background: #d1d5db; /* Medium Grey Area */
    padding: 5px 2px; 
    font-size: 11px; 
    display: flex; 
    justify-content: center; 
    gap: 6px;
    border-top: 1px solid #999;
    margin-top: auto; /* Push to bottom */
}

.moon-svg { width: 11px; height: 11px; vertical-align: middle; }
.moon-svg circle { fill: #000; } 
.moon-svg path { fill: #f9d71c; } 


/* 15. Authentic Daily Tear-Off Sheet (Vibrant & Attractive US Palette) */
.daily-sheet { 
    border: 2px solid #000000; 
    border-radius: 0px;
    margin: 8px auto 14px auto; 
    max-width: 375px;
    width: 95%;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #000000;
    box-sizing: border-box;
}

/* Top Huge Date Header */
.sheet-top-date-row {
    text-align: center;
    padding: 2px 1px 0px 1px;
    font-size: clamp(58px, 18vw, 76px);
    font-family: "Times New Roman", Times, "Playfair Display", Georgia, serif;
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: -2.5px;
    border-bottom: 1.5px solid #000000;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
}

/* Exact Site Date Colors */
.sheet-top-date-row.weekday-theme { color: #012b55; }  /* Dark Navy */
.sheet-top-date-row.saturday-theme { color: #616161; } /* Grey */
.sheet-top-date-row.holiday-theme { color: #b71c1c; }  /* Red for Sundays & Holidays */

.date-dash {
    color: #0288d1;
    font-weight: 900;
    margin: 0 1px;
}

/* US Federal Holiday Stamp */
.sheet-gov-holiday-badge {
    background: #fff0f0;
    border-bottom: 1px solid #b71c1c;
    padding: 1.5px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 8.5px;
    font-weight: bold;
    color: #b71c1c;
    text-transform: uppercase;
}
.sheet-gov-holiday-badge svg {
    width: 11px;
    height: 11px;
    fill: #b71c1c;
}

/* Sub-Header Narrative */
.sheet-meta-narrative {
    padding: 2.5px 4px;
    font-size: 7.8px;
    line-height: 1.22;
    color: #111111;
    background: #ffffff;
    border-bottom: 1.5px solid #000000;
    text-align: left;
}

/* Main Split: Left Area vs Right Horoscope Column */
.sheet-core-split {
    display: grid;
    grid-template-columns: 1fr 92px;
    border-bottom: 1.5px solid #000000;
    background: #ffffff;
}

.sheet-left-block {
    display: flex;
    flex-direction: column;
}

/* Left Top: Colorful 3-Box Strip */
.sheet-sub-strip-3 {
    display: grid;
    grid-template-columns: 1.1fr 1.15fr 1fr;
    border-bottom: 1px solid #000000;
    background: #ffffff;
}

.sub-col {
    padding: 1.5px 2px;
    border-right: 1px solid #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}
.sub-col:last-child {
    border-right: none;
}

/* Box 1: Warm Peach Tint */
.sheet-sub-strip-3 .sub-col:first-child {
    background: #fff7ed;
}
.saka-label { font-size: 7.5px; font-weight: bold; color: #9a3412; line-height: 1.1; }
.solar-day-num { font-size: 21px; font-weight: 900; color: #c2410c; line-height: 0.9; margin-top: 1px; }

/* Box 2: Cheerful Sun Yellow Box */
.strip-col-yellow {
    background: #fef08a !important; /* Vibrant Happy Yellow */
}
.yellow-top-text {
    font-size: 9.5px;
    font-weight: 900;
    color: #15803d; /* Fresh Grass Green */
    text-transform: uppercase;
    line-height: 1.1;
}
.yellow-btm-text {
    font-size: 8.5px;
    font-weight: 900;
    color: #0c4a6e; /* Deep Navy */
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 1px;
}

/* Box 3: Fresh Spring Mint Green */
.sheet-sub-strip-3 .sub-col:last-child {
    background: #f0fdf4;
}
.hijri-title-text { font-size: 7.5px; font-weight: bold; color: #15803d; }
.hijri-large-num { font-size: 14px; font-weight: 900; color: #047857; line-height: 1; }
.strip-split-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid #86efac;
    margin-top: 1px;
    padding-top: 1px;
    font-size: 6.5px;
    font-weight: bold;
}

/* Activity Detail Strip */
.sheet-activity-detail {
    padding: 2.5px 4px;
    font-size: 7.8px;
    line-height: 1.25;
    background: #f8fafc;
    border-bottom: 1px solid #000000;
}

/* Lower Timings & Chart Row */
.sheet-timings-chart-row {
    display: grid;
    grid-template-columns: 1fr 78px;
    flex: 1;
}

.timings-col {
    border-right: 1px solid #000000;
    display: flex;
    flex-direction: column;
}

.panchang-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 6.8px;
}

.panchang-table th, 
.panchang-table td {
    border-right: 1px solid #888888 !important;
    text-align: center;
    vertical-align: middle;
    padding: 1px 1px;
    font-size: 6.8px;
    color: #111111;
    line-height: 1.12;
}

/* Soft Lilac / Lavender Table Headers */
.panchang-table th {
    background: #ede9fe; /* Attractive Lavender */
    font-weight: bold;
    color: #4c1d95;      /* Deep Royal Violet */
    border-bottom: 1px solid #888888;
    line-height: 1.1;
}

.panchang-table th.col-last,
.panchang-table td.col-last {
    border-right: none !important;
}

.split-timing-row td {
    border-bottom: 1px solid #888888;
}

.panchang-table td.unified-timing-cell {
    border-bottom: none !important;
    background: #ffffff;
    font-weight: bold;
    color: #012b55;
    padding: 2px 1px;
    vertical-align: middle;
    line-height: 1.2;
}

/* 3-Part Meta Subgrid */
.timings-sub-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr 1fr;
    border-top: 1px solid #888888;
    font-size: 6.8px;
    line-height: 1.15;
    background: #ffffff;
    margin-top: auto;
}
.sub-cell {
    padding: 1.5px 2px;
    border-right: 1px solid #888888;
}
.sub-cell:last-child { border-right: none; }
.caution-star-title { color: #b71c1c; font-weight: bold; }

/* Middle 4x4 Rasi Chart */
.chart-col {
    padding: 1.5px 1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

.rasi-chart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 15.5px);
    width: 100%;
    max-width: 76px;
    border: 1px solid #000000;
    background: #fffdf5; /* Warm Honey Ivory Tint */
}

.rasi-box {
    border: 0.5px solid #666666;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    line-height: 1;
    overflow: hidden;
}

.rasi-box-center {
    grid-column: 2 / span 2;
    grid-row: 2 / span 2;
    background: #ffffff;
    border: 0.5px solid #666666;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6px;
    font-weight: 900;
    color: #b71c1c;
}

.chart-footer-strip {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    width: 100%;
    max-width: 76px;
    margin-top: 1px;
    border: 0.5px solid #000000;
    font-size: 5.5px;
    text-align: center;
    background: #f1f5f9;
}
.chart-footer-strip div { padding: 1px 0; border-right: 0.5px solid #000000; font-weight: bold; }
.chart-footer-strip div:last-child { border-right: none; }

/* Right Daily Horoscope (Connected Column with Candy Pink Header) */
.sheet-horoscope-column {
    border-left: 1px solid #000000;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.horoscope-col-header {
    background: #fbcfe8 !important; /* Charming Candy Rose Pink */
    color: #9d174d;                 /* Deep Wine/Berry */
    font-size: 8.5px;
    font-weight: 900;
    text-align: center;
    padding: 3px 1px;
    border-bottom: 1px solid #000000;
    line-height: 1.1;
    text-transform: capitalize;
    letter-spacing: 0.2px;
}

.horoscope-col-body {
    padding: 1px 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.horoscope-row {
    display: flex;
    justify-content: space-between;
    font-size: 6.8px;
    line-height: 1.05;
    padding: 0.1px 0;
}
.z-name { font-weight: 700; color: #9d174d; } /* Deep Rose */
.z-val  { font-weight: 600; color: #0369a1; } /* Deep Ocean Blue */

/* Cheerful Golden Proverb Ribbon */
.sheet-proverb-ribbon {
    background: #fef9c3; /* Soft Warm Sunburst Ribbon */
    color: #854d0e;      /* Warm Amber-Brown Text */
    font-weight: bold;
    font-style: italic;
    font-size: 7.8px;
    text-align: center;
    padding: 2px 3px;
    border-bottom: 1.5px solid #000000;
    letter-spacing: 0.1px;
    line-height: 1.15;
}

/* Bottom Metadata Strip */
.sheet-bottom-strip-2 {
    display: flex;
    justify-content: space-between;
    padding: 2px 4px;
    background: #ffffff;
    font-size: 7px;
    font-weight: bold;
    color: #012b55;
}
.sheet-bottom-strip-2 a {
    color: #012b55;
    text-decoration: none;
}

/* --- 16. SETTINGS WELL (COMPACT DATE SELECTORS) --- */
.selector-well { 
    padding: 4px 6px;         /* Reduced from 10px to 4px */
    background: #fdfdfd; 
    border-bottom: 1px solid #eee; 
    text-align: center; 
}
select { 
    padding: 4px 6px; 
    font-size: 12.5px; 
    margin: 1px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    background: #fff; 
    color: #333;
}
.btn-primary { 
    background: #dddddd; 
    color: #000000; 
    cursor: pointer; 
    font-weight: normal;
    border: none;
    padding: 4px 10px; 
    font-size: 12.5px;
    margin: 1px;
    border-radius: 4px;
}

/* 17. SEO SECTION & FOOTER */
.seo-section { 
    padding: 20px 25px; 
    text-align: left; 
    border-top: 1px solid #eee; 
    background: #fff; 
    font-size: 14px;
}

footer { 
    padding: 25px; 
    text-align: center; 
    background: #f9f9f9; 
    border-top: 1px solid #eee; 
    font-size: 13px; 
    color: #777; 
    margin-top: auto;
}

/* 18. AUSPICIOUS WEDDING DATES STYLES */
.wedding-month-section { 
    margin: 20px 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    overflow: hidden; 
    background: #ffffff; 
}

.wedding-month-title { 
    background: #fdf2f2; 
    color: #b71c1c; 
    padding: 12px 15px; 
    font-size: 17px; 
    font-weight: 500; 
    border-bottom: 1px solid #ddd; 
}

.wedding-table { 
    width: 100%; 
    border-collapse: collapse; 
}

.wedding-table td { 
    padding: 10px 15px; 
    border-bottom: 1px solid #eeeeee; 
    font-size: 14px; 
    color: #333333; 
}

/* 19. LUNAR LIST VIEW STYLES (US STYLE) */
.lunar-month-container { 
    margin: 20px 10px; 
}

.lunar-month-header { 
    background: #e1f5fe; 
    color: #01579b; 
    padding: 10px 15px; 
    font-size: 18px; 
    font-weight: 700; 
    border: 1px solid #b3e5fc; 
    border-radius: 4px 4px 0 0; 
}

.lunar-table { 
    width: 100%; 
    border-collapse: collapse; 
    background: #fff; 
    border: 1px solid #ddd; 
    margin-bottom: 20px; 
}

.lunar-table td { 
    padding: 12px 15px; 
    border-bottom: 1px solid #eee; 
    vertical-align: top; 
    font-size: 14px; 
    color: #222; 
}

.col-type { 
    width: 45%; 
    font-weight: 600; 
    color: #444; 
}

.col-dates { 
    width: 55%; 
    line-height: 1.6; 
}

.lunar-h2-title {
    font-size: 18px; 
    color: #333333; 
    margin: 20px 10px 10px 10px; 
    line-height: 1.4; 
    text-align: left; 
    font-weight: 700;
}

/* 20. EXTENDED DETAILS & SUMMARY WRAPPER */
.details-wrapper {
    max-width: 650px;
    margin: 20px auto;
    padding: 0 10px;
}

/* 21. Extended Table (Zebra Style & Unified Visible Borders) */
.extended-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #d1d5db; /* Clean outer border, fixes L-shape bug */
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.extended-table .header-row {
    background-color: #C6EFFB; /* Original light blue header preserved */
    color: #000000;
    padding: 9px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #b3e5fc;
}

.extended-table td {
    padding: 7px 10px;
    border: 1px solid #e5e7eb; /* All grid lines are clearly visible */
    font-size: 13px;
    color: #222222;
    line-height: 1.35;
    vertical-align: middle; /* Fixes height mismatch between columns */
}

/* Zebra Striping */
.extended-table tr:nth-child(even) td { background-color: #f9fafb; }
.extended-table tr:nth-child(odd) td { background-color: #ffffff; }

.label-bold {
    font-weight: 700;
    color: #000000;
    width: 42%;
}

.value-text {
    width: 58%;
    color: #374151;
    vertical-align: middle;
}

/* 22. Monthly Summary Table Cells (Fixes Extra Lines/Gaps) */
.summary-icon-cell {
    vertical-align: middle !important;
    font-weight: 600;
    color: #111827;
    white-space: normal;
}

.summary-icon-cell img {
    width: 17px; 
    height: 17px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block; /* Replaces broken display:flex on <td> */
}

.summary-icon-cell span {
    vertical-align: middle;
    display: inline-block;
}

.summary-link-header {
    text-decoration: none;
    color: #000000;
    font-weight: 700;
}

/* 23. LARGE MONTHLY GRID VIEW (Single Month Center Aligned) */
/* Following task: Center alignment for both mobile and desktop Devices */
.month-box-large {
    width: 260px !important; /* Fixed width to keep it small and centered */
    margin: 20px auto; /* Auto margin centers the single box horizontally */
    border: 1px solid #01579b;
}

.month-box-large .month-title { 
    font-size: 20px; 
    padding: 8px; 
    background: #e2e8f0; 
    color: #01579b; 
    font-weight: 400; /* No bold month names */
}

/* 24. MEDIA QUERIES (RESPONSIVE CENTERING & GRID LOCK) */

@media (min-width: 701px) {
    /* TASK: Yearly Page - Force 3 Columns */
    #calendar-grid-container.calendar-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 210px); /* Exactly 3 columns */
        justify-content: center; /* Center the whole 3-column block */
        gap: 15px;
    }

    /* TASK: Monthly Page - Keep single box centered */
    #monthly-grid-view.calendar-grid {
        display: flex !important;
        justify-content: center !important;
        width: 100%;
    }
}

@media (max-width: 950px) {
    .big-date { font-size: 55px; }
}

@media (max-width: 700px) {
    /* TASK: Mobile - Single Column Centered for everything */
    .calendar-grid { 
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 15px;
    }
    
    .month-box, .month-box-large { 
        width: 210px !important; /* Keep it small as per task */
        margin: 10px auto !important; /* Center alignment */
    }
    
    .holiday-list-grid { 
        grid-template-columns: 1fr; 
        padding: 10px 20px;
    }
    
    .extended-table td { padding: 8px; font-size: 13px; }
    .label-bold { width: 48%; }
}

/* 25. 12-RASI TWO-COLUMN SELECTION GRID */
.rasi-grid-container {
    max-width: 720px;
    margin: 18px auto;
    padding: 0 10px;
}

.rasi-grid-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    text-align: center;
}

.rasi-two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.rasi-grid-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    text-decoration: none;
    color: #1f2937;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.rasi-grid-item:hover {
    background: #f8fafc;
    border-color: #0284c7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.rasi-grid-item.active-sign {
    background: #eff6ff;
    border-color: #3b82f6;
    font-weight: 700;
}

.rasi-thumb-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-right: 12px;
    flex-shrink: 0;
}

.rasi-item-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rasi-name-en {
    font-size: 14.5px;
    font-weight: 700;
    color: #012b55;
    line-height: 1.2;
}

.rasi-sub-sanskrit {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 1px;
}

/* 26. HOROSCOPE CONTENT CARDS & SECTIONS */
.horo-detail-container {
    max-width: 720px;
    margin: 15px auto 25px auto;
    padding: 0 10px;
}

.horo-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 16px 18px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.horo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.horo-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.horo-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.horo-date-badge {
    background: #fee2e2;
    color: #b71c1c;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.horo-body-para {
    font-size: 13.5px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 14px;
    text-align: justify;
}

/* 27. LUCKY METRICS PILLS & REMEDIAL BOX */
.lucky-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    margin: 14px 0;
}

.lucky-pill {
    font-size: 12px;
    color: #1e293b;
    line-height: 1.35;
}

.lucky-pill strong {
    color: #0369a1;
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.remedy-box {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 10px 12px;
    border-radius: 0 4px 4px 0;
    margin-top: 12px;
    font-size: 12.5px;
    color: #92400e;
    line-height: 1.45;
}

.remedy-box strong {
    color: #78350f;
}

/* 28. NAKSHATRA SPECIFIC PREDICTIONS TABLE */
.star-prediction-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    font-size: 12.5px;
}

.star-prediction-table th {
    background: #f1f5f9;
    color: #334155;
    text-align: left;
    padding: 6px 10px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    font-size: 12px;
}

.star-prediction-table td {
    padding: 7px 10px;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    vertical-align: top;
    line-height: 1.4;
}

.star-name-cell {
    font-weight: 700;
    color: #0284c7;
    width: 32%;
    white-space: nowrap;
}

/* 29. CHANDRASHTAMA / CAUTIONARY ALERT BOX */
.caution-alert-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 4px;
    padding: 10px 14px;
    margin: 12px 0;
    font-size: 12.5px;
    color: #991b1b;
    line-height: 1.45;
}

.caution-alert-box strong {
    color: #7f1d1d;
}

/* 30. TRANSIT BADGES & SUMMARY CARDS */
.transit-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.transit-aspect-pill {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* ==========================================================================
   SECTION 31: CLEAN MARRIAGE COMPATIBILITY (No Messy Bottom Text)
   ========================================================================== */
.porutham-calc-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin: 18px auto;
    max-width: 680px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.porutham-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.porutham-col {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
}

.porutham-col h3 {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    text-align: center;
}

.porutham-field {
    margin-bottom: 12px;
}

.porutham-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 5px;
}

.porutham-field select {
    width: 100%;
    padding: 9px 10px;
    font-size: 13px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s ease;
}

.porutham-field select:focus {
    border-color: #8b5cf6;
}

.btn-calc-porutham {
    display: block;
    width: 100%;
    background: #8b5cf6; /* Clean Indigo / Purple */
    color: #ffffff;
    padding: 13px;
    font-size: 14.5px;
    font-weight: 800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

.btn-calc-porutham:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

.porutham-score-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0fdf4;
    border: 1.5px solid #22c55e;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 20px 0 14px 0;
}

.porutham-score-num {
    font-size: 24px;
    font-weight: 900;
    color: #15803d;
}

.porutham-status-tag {
    font-size: 12.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 6px;
}

.status-excellent { background: #dcfce7; color: #15803d; }
.status-moderate { background: #fef9c3; color: #854d0e; }
.status-low { background: #fee2e2; color: #991b1b; }

.porutham-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    font-size: 12.5px;
}

.porutham-table th {
    background: #ede9fe;
    color: #4c1d95;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    text-align: left;
}

.porutham-table td {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    vertical-align: middle;
}

.match-pass { color: #16a34a; font-weight: 800; }
.match-fail { color: #dc2626; font-weight: 800; }

.pdf-export-bar {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-download-pdf:hover {
    background: #1e293b;
}

.btn-download-pdf svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 600px) {
    .porutham-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTION 32: CLEAN AUTH MODAL & CSS BUTTON SPINNERS (style.css)
   ========================================================================== */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 16px;
    box-sizing: border-box;
}

.auth-overlay.active {
    display: flex;
}

.auth-card-wrapper {
    background: #ffffff;
    width: 100%;
    max-width: 390px;
    border-radius: 18px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
    padding: 26px 20px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    animation: authCardPop 0.16s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes authCardPop {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-close-icon-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.auth-close-icon-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

/* Top Icon */
.auth-top-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0284c7 0%, #0f172a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.auth-top-icon-box svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.auth-title-text {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
    letter-spacing: -0.3px;
}

.auth-subtitle-text {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Inline Alert Banners */
.auth-msg-box {
    display: none;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    animation: authMsgFade 0.15s ease-out;
}

@keyframes authMsgFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-msg-box.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.auth-msg-box.success {
    display: block;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Inputs */
.auth-input-container {
    margin-bottom: 10px;
    text-align: left;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.auth-field-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 13.5px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field-input:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.auth-field-input::placeholder {
    color: #94a3b8;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.password-toggle-btn:hover {
    color: #0284c7;
}

.auth-forgot-row {
    text-align: right;
    margin: -2px 0 14px 0;
}

.auth-forgot-link {
    font-size: 11.5px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
}

.auth-forgot-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Solid Blue Action Button with CSS Spinner Support */
.btn-auth-main-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #0284c7;
    color: #ffffff;
    padding: 11px;
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
    box-sizing: border-box;
}

.btn-auth-main-action:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.btn-auth-main-action:disabled {
    background: #0369a1;
    cursor: not-allowed;
    opacity: 0.9;
    transform: none;
}

/* Pure CSS Loading Spinner for Buttons */
.btn-spinner-icon {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: btnSpin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes btnSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* OR Divider */
.auth-line-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 14px 0;
    color: #94a3b8;
    font-size: 11.5px;
    text-transform: lowercase;
}

.auth-line-divider::before,
.auth-line-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-line-divider span {
    padding: 0 12px;
}

/* Single Full-Width Google Button */
.btn-google-sso-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    box-sizing: border-box;
}

.btn-google-sso-action:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-google-sso-action svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.auth-switch-bottom-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 15px;
}

.auth-switch-link {
    color: #0284c7;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.auth-switch-link:hover {
    text-decoration: underline;
}

/* 33. MOBILE RESPONSIVENESS OVERRIDES */
@media (max-width: 600px) {
    .rasi-two-col-grid {
        grid-template-columns: 1fr;
    }
    
    .lucky-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .porutham-form-grid {
        grid-template-columns: 1fr;
    }

    .pricing-tier-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTION 34: GREY & LITE BLUE SIDEBAR AUTH BUTTONS (NO EMAIL CLUTTER)
   ========================================================================== */
.sidebar-auth-wrapper {
    padding: 12px 14px;
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
}

.auth-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-sidebar-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8.5px 10px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.15s ease;
}

.btn-auth-login {
    background: #334155; /* Slate Grey */
    color: #f8fafc;
}

.btn-auth-login:hover {
    background: #475569;
}

.btn-auth-signup {
    background: #0284c7; /* Lite Blue */
    color: #ffffff;
}

.btn-auth-signup:hover {
    background: #0369a1;
}

.btn-auth-dash {
    background: #0284c7;
    color: #ffffff;
}

.btn-auth-dash:hover {
    background: #0369a1;
}

.btn-auth-logout {
    background: #1e293b;
    color: #f87171;
    border: 1px solid #334155;
}

.btn-auth-logout:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

/* ==========================================================================
   SECTION 35: MOBILE-PERFECT PAYWALL MODAL (Easy-to-Close & Scrollable)
   ========================================================================== */
.paywall-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3500;
    padding: 12px;
    box-sizing: border-box;
    overflow-y: auto; /* Allows smooth scrolling on small screens */
    -webkit-overflow-scrolling: touch;
}

.paywall-overlay.active {
    display: flex;
}

.paywall-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    max-height: 90vh; /* Never gets cut off at top or bottom */
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45);
    overflow: hidden;
    position: relative;
    animation: paywallPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
}

@keyframes paywallPop {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Sticky Header with Prominent Easy-to-Tap Close Button */
.paywall-header {
    background: #0f172a;
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #1e293b;
}

.paywall-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.paywall-close-btn {
    background: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: background 0.15s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.paywall-close-btn:hover,
.paywall-close-btn:active {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.05);
}

/* Scrollable Modal Content */
.paywall-body {
    padding: 20px 16px 24px 16px;
    text-align: center;
    overflow-y: auto; /* Scrollable inside modal */
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.paywall-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef3c7;
    border-radius: 50%;
    flex-shrink: 0;
}

.paywall-icon svg {
    width: 22px;
    height: 22px;
    fill: #d97706;
}

.paywall-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.25;
}

.paywall-subtext {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    max-width: 440px;
    margin: 0 auto 16px auto;
}

/* 3-Tier Plan Cards (Responsive Grid) */
.paywall-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
    text-align: left;
}

.paywall-plan-box {
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.paywall-plan-box:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.paywall-plan-box.popular {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.12);
    position: relative;
}

.paywall-plan-name {
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.paywall-plan-price {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    margin: 4px 0 2px 0;
    line-height: 1;
}

.paywall-plan-period {
    font-size: 10.5px;
    color: #64748b;
    margin-bottom: 8px;
}

/* Feature List (No auto-bullets, clear flex alignment) */
.paywall-plan-bullets {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    font-size: 11.5px;
    color: #334155;
}

.paywall-plan-bullets li {
    padding: 3.5px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    line-height: 1.35 !important;
    border-bottom: none !important;
}

/* Strictly disables any default or forced pseudo-element checkmark */
.paywall-plan-bullets li::before {
    display: none !important;
    content: none !important;
}

/* Distinct High-Contrast Green Checks & Red Crosses */
.paywall-icon-yes,
.paywall-plan-bullets .icon-yes {
    color: #16a34a !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    flex-shrink: 0;
    line-height: 1.2;
}

.paywall-icon-no,
.paywall-plan-bullets .icon-no {
    color: #dc2626 !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    flex-shrink: 0;
    line-height: 1.2;
}

.btn-select-plan {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background 0.15s ease;
}

.btn-select-plan:hover {
    background: #0369a1;
}

.paywall-view-all-link {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
    margin-top: 6px;
}

.paywall-view-all-link:hover {
    text-decoration: underline;
}

/* Mobile Stack View for Paywall */
@media (max-width: 600px) {
    .paywall-card {
        max-height: 88vh;
    }
    .paywall-plans-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .paywall-body {
        padding: 16px 14px 20px 14px;
    }
}

/* ==========================================================================
   SECTION 36: FLOATING SUPPORT BUTTON (SCOPED TO HIGH-INTENT PAGES ONLY)
   ========================================================================== */
.floating-support-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4f46e5;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2500;
    border: none;
    transition: transform 0.2s ease, background 0.15s ease;
}

.floating-support-btn:hover {
    transform: scale(1.08);
    background: #4338ca;
}

.floating-support-btn svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.support-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 3600;
    padding: 20px;
}

.support-modal-overlay.active {
    display: flex;
}

.support-card {
    background: #ffffff;
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin-bottom: 60px;
    margin-right: 8px;
    animation: supportSlide 0.2s ease-out;
}

@keyframes supportSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.support-card-header {
    background: #0f172a;
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

.support-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.support-card-body {
    padding: 16px;
}

.support-card-body p {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 12px;
}

.support-field {
    margin-bottom: 10px;
}

.support-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 3px;
}

.support-field input,
.support-field select,
.support-field textarea {
    width: 100%;
    padding: 7.5px 10px;
    font-size: 12.5px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    box-sizing: border-box;
}

.support-field textarea {
    height: 70px;
    resize: none;
}

.btn-send-support {
    width: 100%;
    background: #4f46e5;
    color: #ffffff;
    padding: 9px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-send-support:hover {
    background: #4338ca;
}

/* ==========================================================================
   SECTION 37: LIGHTWEIGHT MODERN FOOTER (Airy Spacing, No Underlines)
   ========================================================================== */
footer {
    padding: 38px 20px 26px 20px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 28px;
    margin-bottom: 18px;
}

.footer-nav a {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.footer-nav a:hover {
    color: #0f172a;
}

.footer-disclaimer-text {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 820px;
    margin: 0 auto 14px auto;
    text-align: center;
}

footer p {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* ==========================================================================
   SECTION 38: DEDICATED PRICING PAGE STYLES (GREY & LITE BLUE)
   ========================================================================== */
.pricing-page-wrapper {
    max-width: 900px;
    margin: 20px auto 40px auto;
    padding: 0 16px;
}

.pricing-header-block {
    text-align: center;
    margin-bottom: 26px;
}

.pricing-page-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.pricing-page-subtitle {
    font-size: 13.5px;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.5;
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.pricing-box {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #0284c7;
}

.pricing-box.featured-tier {
    border-color: #0284c7;
    background: #f8fafc;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.14);
}

.featured-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0284c7;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 12px;
}

.plan-tier-label {
    font-size: 14px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-price-figure {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 4px;
}

.plan-billing-duration {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 16px;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    font-size: 12.5px;
    color: #334155;
    flex: 1;
}

.plan-features-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features-list li::before {
    content: "✓";
    color: #0284c7;
    font-weight: 900;
}

.btn-purchase-plan {
    display: block;
    width: 100%;
    padding: 10.5px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #334155;
    color: #ffffff;
    transition: all 0.15s ease;
}

.btn-purchase-plan:hover {
    background: #1e293b;
}

.featured-tier .btn-purchase-plan {
    background: #0284c7;
    color: #ffffff;
}

.featured-tier .btn-purchase-plan:hover {
    background: #0369a1;
}

/* ==========================================================================
   SECTION 39: COMPLETE USER ACCOUNT DASHBOARD (Mobile & Desktop Responsive)
   ========================================================================== */
.account-page-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 16px auto 36px auto;
    padding: 0 14px;
    box-sizing: border-box;
}

.account-dashboard-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.account-header-bar {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 8px;
}

.account-user-name {
    font-size: 16.5px;
    font-weight: 800;
    color: #ffffff;
}

.account-badge-indicator {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    background: #334155;
    color: #f8fafc;
    letter-spacing: 0.3px;
}

.account-badge-indicator.badge-premium {
    background: #0284c7;
    color: #ffffff;
}

/* Horizontal Scrollable Tabs on Mobile */
.account-nav-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
    scrollbar-width: none;
}

.account-nav-tabs::-webkit-scrollbar {
    display: none;
}

.acc-tab-btn {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.acc-tab-btn.active {
    color: #0284c7;
    background: #ffffff;
    border-bottom-color: #0284c7;
}

.account-card-body {
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.account-tab-pane {
    display: none;
    width: 100%;
}

.account-tab-pane.active {
    display: block;
}

.verified-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    color: #166534;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
    margin-bottom: 14px;
}

.account-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
}

.account-field-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    text-align: left;
    box-sizing: border-box;
}

.account-field-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.account-field-value {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.btn-account-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10.5px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease;
    box-sizing: border-box;
}

.btn-account-upgrade {
    background: #0284c7;
    color: #ffffff;
}

.btn-account-upgrade:hover {
    background: #0369a1;
}

.btn-account-pwd {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.btn-account-pwd:hover {
    background: #e2e8f0;
}

.btn-account-signout {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    margin-top: 8px;
}

.btn-account-signout:hover {
    background: #fee2e2;
}

.btn-account-delete {
    background: #ffffff;
    color: #dc2626;
    border: 1.5px dashed #fca5a5;
    margin-top: 14px;
}

.btn-account-delete:hover {
    background: #fef2f2;
    border-color: #dc2626;
}

/* Mobile Responsiveness for Account Grid */
@media (max-width: 640px) {
    .account-field-grid {
        grid-template-columns: 1fr;
    }
    .account-page-wrapper {
        padding: 0 10px;
    }
    .account-card-body {
        padding: 16px 14px;
    }
}

/* 40. CONTACT & HELP DESK FORM (/contact/) */
.contact-page-wrapper {
    max-width: 640px;
    margin: 25px auto 40px auto;
    padding: 0 16px;
}

.contact-form-box {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.contact-input-row {
    margin-bottom: 14px;
}

.contact-input-row label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.contact-input-row input,
.contact-input-row select,
.contact-input-row textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 13.5px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    background: #ffffff;
}

.contact-input-row textarea {
    height: 105px;
    resize: vertical;
}

.btn-contact-dispatch {
    width: 100%;
    background: #0284c7;
    color: #ffffff;
    padding: 12px;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-contact-dispatch:hover {
    background: #0369a1;
}

/* 41. RESPONSIVE OVERRIDES */
@media (max-width: 760px) {
    .pricing-cards-container {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .account-field-grid {
        grid-template-columns: 1fr;
    }

    .footer-legal-links {
        gap: 8px 10px;
    }

    .footer-legal-links li a {
        font-size: 12px;
        padding: 5px 11px;
    }
}


/* ==========================================================================
   SECTION 42: PRICING FEATURE LIST (Green Checkmarks & Red Crosses)
   ========================================================================== */
.plan-features-list {
    list-style: none !important;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    font-size: 13px;
    color: #334155;
    flex: 1;
}

.plan-features-list li {
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.35;
}

.plan-features-list li::before {
    display: none !important; /* Disables default bullets/icons to prevent duplicates */
}

.icon-yes {
    color: #16a34a;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1.2;
}

.icon-no {
    color: #dc2626;
    font-weight: 900;
    font-size: 13px;
    flex-shrink: 0;
    line-height: 1.2;
}