/* =========================================================
   TODAY'S HIGHLIGHTS
   ========================================================= */

.highlight-card {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 249, 238, 0.98));

    border: 1px solid rgba(181, 132, 51, 0.28);

    border-radius: 28px;

    box-shadow:
        0 12px 30px rgba(94, 50, 20, 0.08);

    padding: 28px;
}


/* =========================================================
   HEADER
   ========================================================= */

.highlight-card .card-header {
    display: flex;
    align-items: center;
    gap: 16px;

    padding-bottom: 22px;

    border-bottom: none;
}


.highlight-card .card-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background:
        radial-gradient(circle,
            #ffe7b0,
            #fff2d8);

    border-radius: 50%;

    font-size: 25px;

    box-shadow:
        0 4px 12px rgba(150, 90, 20, 0.10);
}


.highlight-card .card-title {
    font-size: 1.45rem;
    font-weight: 700;

    color: #7b241c;

    letter-spacing: -0.01em;
}


/* =========================================================
   CONTENT
   ========================================================= */

.highlight-content {
    margin-top: 4px;
}


.daily-highlights {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin: 0;
}


/* =========================================================
   INDIVIDUAL ITEM
   ========================================================= */

.highlight-item {
    display: grid;

    grid-template-columns:
        minmax(145px, 0.32fr) minmax(0, 1fr);

    align-items: center;

    gap: 20px;

    margin: 0;

    padding: 16px 18px;

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.65);

    border: 1px solid rgba(181, 132, 51, 0.12);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.highlight-item:hover {
    transform: translateY(-1px);

    background:
        rgba(255, 255, 255, 0.9);

    box-shadow:
        0 6px 18px rgba(94, 50, 20, 0.06);
}


/* =========================================================
   LABEL
   ========================================================= */

.highlight-item dt {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 0;

    color: #765a46;

    font-size: 0.95rem;
    font-weight: 500;
}


.highlight-icon {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background:
        #fff3dc;

    border-radius: 10px;

    font-size: 16px;
}


/* =========================================================
   VALUE
   ========================================================= */

.highlight-item dd {
    margin: 0;

    color: #402b22;

    font-size: 1rem;
    font-weight: 600;

    line-height: 1.7;
}


/* =========================================================
   DATE BADGE
   ========================================================= */

.date-badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 14px;

    background:
        #fff1d6;

    border: 1px solid rgba(181, 132, 51, 0.18);

    border-radius: 999px;

    color: #5f3827;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   SHRAVAK NAMES
   ========================================================= */

.shravak-names {
    display: inline;

    color: #5d271f;

    font-weight: 700;

    line-height: 1.8;
}


/* =========================================================
   ANNOUNCEMENT
   ========================================================= */

.announcement-item {
    background:
        linear-gradient(135deg,
            rgba(255, 246, 225, 0.95),
            rgba(255, 251, 242, 0.95));

    border-color:
        rgba(181, 132, 51, 0.20);
}


.announcement-text {
    display: block;

    color: #8a241c;

    font-weight: 700;

    line-height: 1.75;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .highlight-card {
        padding: 20px;
        border-radius: 22px;
    }


    .highlight-card .card-header {
        padding-bottom: 16px;
    }


    .highlight-card .card-title {
        font-size: 1.25rem;
    }


    .highlight-item {
        grid-template-columns: 1fr;

        gap: 8px;

        padding: 14px 16px;
    }


    .highlight-item dt {
        font-size: 0.88rem;
    }


    .highlight-item dd {
        padding-left: 42px;

        font-size: 0.95rem;
    }


    .date-badge {
        white-space: normal;
    }

}

/* CHOWKA PAGE - page-specific styles. Existing site tokens/classes are reused. */
.chowka-page-container {
    max-width: 1100px
}

.chowka-hero {
    padding-bottom: 28px
}

.chowka-hero .page-title {
    margin-bottom: 8px
}

.chowka-date-panel,
.maharaj-panel {
    padding: 28px
}

.chowka-date-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line)
}

.panel-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--maroon-soft);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase
}

.section-title {
    color: var(--maroon);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.25;
    font-weight: 700
}

.section-description {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: .95rem
}

.date-picker-wrap {
    flex: 0 0 190px
}

.date-picker-wrap label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-heading);
    font-size: .82rem;
    font-weight: 600
}

.chowka-date-input {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    font-size: .9rem;
    outline: none
}

.chowka-date-input:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .14)
}

.history-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 20px;
    padding: 13px 15px;
    border-left: 4px solid var(--saffron);
    border-radius: 7px;
    background: var(--saffron-soft);
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.55
}

.history-note-icon {
    flex: 0 0 auto
}

.chowka-status {
    margin-top: 18px;
    padding: 11px 14px;
    border-radius: 8px;
    background: #eef8ef;
    border: 1px solid #c7e4ca;
    color: #2f6b36;
    font-size: .9rem;
    font-weight: 600
}

.chowka-table-section {
    margin-top: 28px
}

.table-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px
}

.table-heading-row h3 {
    color: var(--maroon);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1.25rem;
    font-weight: 700
}

.table-heading-row p {
    margin-top: 2px;
    color: var(--text-soft);
    font-size: .86rem
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    padding: 0 11px;
    border: 1px solid #f2c06a;
    border-radius: 999px;
    background: var(--saffron-soft);
    color: var(--maroon);
    font-size: .8rem;
    font-weight: 700
}

.chowka-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff
}

.chowka-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed
}

.chowka-table th {
    padding: 13px 15px;
    background: var(--maroon);
    color: #fff;
    text-align: left;
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, .18)
}

.chowka-table th:last-child {
    border-right: none
}

.chowka-table td {
    padding: 14px 15px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    vertical-align: middle;
    line-height: 1.5;
    font-size: .94rem
}

.chowka-table tbody tr:last-child td {
    border-bottom: none
}

.chowka-table tbody tr:nth-child(even) {
    background: #fffaf3
}

.chowka-table .serial-col {
    width: 60px;
    text-align: center
}

.chowka-table th:nth-child(2) {
    width: 25%
}

.chowka-table th:nth-child(3) {
    width: 40%
}

.chowka-table th:nth-child(4) {
    width: 25%
}

.chowka-table td:first-child {
    text-align: center;
    color: var(--text-soft);
    font-family: 'Poppins', sans-serif;
    font-weight: 600
}

.chowka-table tr.maharaj-confirmed {
    background: #eff8ef !important
}

.chowka-table tr.maharaj-confirmed td {
    border-bottom-color: #c9e4cb
}

.chowka-table tr.maharaj-confirmed td:last-child {
    color: #2e6d35;
    font-weight: 700
}

.maharaj-name-cell {
    display: inline-flex;
    align-items: center;
    gap: 7px
}

.maharaj-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #43a047
}

.not-confirmed {
    color: #9a8a7d;
    font-size: .84rem
}

.table-help {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: .8rem
}

.empty-state {
    margin-top: 25px;
    padding: 35px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    background: #fffdf9;
    text-align: center
}

.empty-icon {
    font-size: 1.8rem;
    margin-bottom: 7px
}

.empty-state h3 {
    color: var(--maroon);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1.15rem
}

.empty-state p {
    max-width: 560px;
    margin: 5px auto 0;
    color: var(--text-soft);
    font-size: .9rem
}

.maharaj-panel {
    margin-top: 24px
}

.maharaj-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px
}

.maharaj-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 76px;
    padding: 15px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease
}

.maharaj-card:hover {
    transform: translateY(-1px);
    border-color: var(--saffron);
    background: #fffdf9
}

.maharaj-card.active {
    border-color: var(--maroon);
    background: #fff8ef;
    box-shadow: 0 4px 14px rgba(68, 35, 17, .07)
}

.maharaj-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e3c796;
    background: var(--saffron-soft);
    font-size: 1.2rem
}

.maharaj-card-text {
    min-width: 0;
    flex: 1
}

.maharaj-card-text strong {
    display: block;
    color: var(--maroon);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1rem;
    line-height: 1.4
}

.maharaj-card-arrow {
    flex: 0 0 auto;
    color: var(--maroon-soft);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: .76rem;
    font-weight: 600;
    white-space: nowrap
}

.maharaj-details {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    animation: chowkaDetailsIn 220ms ease both
}

.maharaj-details.hidden {
    display: none !important
}

@keyframes chowkaDetailsIn {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.selected-maharaj-heading {
    display: flex;
    align-items: center;
    gap: 11px
}

.selected-maharaj-heading>div {
    flex: 1
}

.selected-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f4e9;
    color: #2e6d35;
    font-weight: 700
}

.selected-maharaj-heading h3 {
    color: var(--maroon);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1.25rem;
    line-height: 1.3
}

.details-close-button {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--text-soft);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer
}

.details-close-button:hover {
    border-color: var(--maroon);
    color: var(--maroon)
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 18px
}

.detail-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #fffdf9 100%)
}

.detail-card-wide {
    grid-column: 1/-1
}

.detail-card-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--saffron-soft);
    border: 1px solid #efd19d;
    font-size: 1rem
}

.detail-card h4 {
    color: var(--maroon);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1rem;
    font-weight: 700
}

.detail-content {
    margin-top: 7px;
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.7
}

.detail-content ul {
    margin: 0;
    padding-left: 20px
}

.detail-content li+li {
    margin-top: 4px
}

.detail-placeholder {
    color: #9a8a7d;
    font-style: italic
}

.back-link-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px
}

.back-link-wrap .button {
    min-width: 240px;
    text-align: center
}

.hidden {
    display: none !important
}

@media(max-width:760px) {

    .chowka-date-panel,
    .maharaj-panel {
        padding: 20px
    }

    .chowka-date-head {
        flex-direction: column;
        gap: 16px
    }

    .date-picker-wrap {
        width: 100%;
        flex-basis: auto
    }

    .maharaj-selector {
        grid-template-columns: 1fr
    }

    .detail-grid {
        grid-template-columns: 1fr
    }

    .detail-card-wide {
        grid-column: auto
    }

    .chowka-table {
        min-width: 720px
    }

    .chowka-table th:nth-child(2) {
        width: 190px
    }

    .chowka-table th:nth-child(3) {
        width: 280px
    }

    .chowka-table th:nth-child(4) {
        width: 190px
    }
}

@media(max-width:480px) {

    .chowka-date-panel,
    .maharaj-panel {
        padding: 16px
    }

    .history-note {
        font-size: .82rem
    }

    .table-heading-row {
        align-items: center
    }

    .table-heading-row h3 {
        font-size: 1.08rem
    }

    .maharaj-card {
        padding: 13px
    }

    .maharaj-card-text strong {
        font-size: .9rem
    }

    .detail-card {
        padding: 15px
    }

    .back-link-wrap .button {
        width: 100%
    }
}