#countdown {
    margin-top: 12px;
    font-size: 31px;
    margin-bottom: 20px;
    font-weight: 600;
    /* color: #6b242b; */
}

.header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

#img_logo {
    position: static;
    width: 23px;
    height: auto;
}

.list-custom-small a {
    font-size: 16px !important;
}



.border-right-table {
    border-right: 5px solid #e0e0e0;
}

.border-top-table {
    border-top: 5px solid #e0e0e0;
}


.list-custom-small a {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    text-decoration: none;
}

.list-custom-small a i.fa-question {
    width: 30px;
    height: 30px;
    line-height: 18px;
    text-align: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.list-custom-small a span {
    flex: 1;
    line-height: 1.4;
    margin: 0;
}

.list-custom-small a i.fa-angle-right {
    flex-shrink: 0;
    margin-left: 8px;
}
.bg-coordinates-value {
    background-color: #d4f1b8;
}
.flex-lg-row {
    flex-direction: column !important;
}

.flex-md-row {
    flex-direction: column !important;
}
@media (min-width: 576px) {
    .flex-sm-row {
        flex-direction: row !important;
    }
}
.flex-sm-row{
    flex-direction: column !important;
}
#edit-ayanamsha-btn {
    font-size: 11px;
    padding: 4px 8px;
    margin-left: 18px;
}

@media (min-width: 992px) {
    .flex-lg-row {
        flex-direction: row !important;
    }


}

@media (min-width: 768px) {
    .flex-md-row {
        flex-direction: row !important;
    }
}

.list-group .list-group-item {
    border-color: rgba(0, 0, 0, 0.06);
}

body.theme-dark .list-group .list-group-item {
    border-color: rgba(255, 255, 255, 0.08);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: var(--bg-highlight) !important;
    color:  #fff !important;
}


.time-tool {
    display: block;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 578px) {
    .time-tool {
        max-height: 70vh;
    }
}

.time-tool-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-tool-grid .time-tool-item {
    flex: 0 0 calc(50% - 5px);
    min-width: 0;
}

.event-tool-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#menu-eventool .btn-check+.btn {
    background-color: #fefefe;
    border-color: #dfe9f4;
    color: #272829;
    font-family: inherit;
    font-size: 0.875rem;
}

#menu-eventool .btn-check+.btn:hover {
    background-color: #dee2e6;
    border-color: #c7cfd7;
    color: #495057;
}

#menu-eventool .btn-check:checked+.btn {
    background-color: var(--bg-highlight);
    border-color: var(--bg-highlight);
    color: var(--bg-highlight-color, #ffffff);
    box-shadow: none;
}

#menu-eventool .btn-check:focus+.btn {
    box-shadow: 0 0 0 0.15rem rgba(254, 72, 72, 0.2);
}



.dashboard-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    min-height: 52px;
    padding: 0 14px 0 16px;
}

.dashboard-search-box i.fa-search {
    position: static;
    flex: 0 0 auto;
    line-height: 1;
    padding: 0;
    font-size: 14px;
}

.dashboard-search-box input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    line-height: 1.4;
    padding: 14px 0;
    font-size: 14px !important;
}

@media (min-width: 992px) {
    .dashboard-search-box {
        min-height: 56px;
        padding: 0 18px 0 20px;
    }

    .dashboard-search-box i.fa-search {
        font-size: 15px;
    }

    .dashboard-search-box input {
        font-size: 15px !important;
        padding: 15px 0;
    }
}

@media (max-width: 576px) {
    .dashboard-search-box {
        min-height: 48px;
        gap: 8px;
        padding: 0 12px 0 14px;
    }

    .dashboard-search-box input {
        font-size: 13px !important;
        padding: 12px 0;
    }
}

/* Dasha table row styling */

.yellow-color-code {
    /* background: #f4fa89cc; */
    color: #51e81e;
}

.red-color-code {
    /* background: #f648485c; */
    color: #e81e1e;
}

@media print {

    body {
        background: white;
        margin: 0;
        padding: 0;
    }

    .header,
    .footer,
    .page-title,
    .header-card,
    .print-btn,
    .no-print {
        display: none !important;
    }

    .print-area {
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    .page-content {
        padding: 0;
        margin: 0;
    }
}

.custom-list-group-item {
    position: relative;
    display: block;
    padding: 0rem;
    color: #212529;
    text-decoration: none;
    background-color: #fff;
    font-size: clamp(10px, 3vw, 13px);
    line-height: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: 7px 0px 7px 0px;
}

.show-kundali-header {
    font-size: 10px;

}

.custom-card-style {
    overflow: hidden;
    margin: 0px 2px 15px 2px;
    border-radius: 0px;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, .1);
}

.custom-latest-kundli-card-style {
    margin-bottom: 60px;
    margin: 0px 2px 50px 2px;
    border-radius: 0px;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, .1);
}



@media (min-width: 340px) {
    .show-kundali-header {
        font-size: 14px;
    }

    #edit-ayanamsha-btn {
        font-size: 13px;
        padding: 6px 12px;
    }


}

@media (min-width: 400px) {
    .custom-card-style {
        margin: 0px 15px 30px 15px;
        border-radius: 20px;
    }

    .custom-list-group-item {
        padding: 0.5rem 1rem;
        font-size: clamp(10px, 3vw, 13px);
    }
}

@media (min-width: 768px) {
    .custom-list-group-item {
        padding: 0.75rem 1.25rem;
        font-size: clamp(14px, 3vw, 15px);
    }


}

/* Checkbox grid styles for create_event - compact grid tiles */
#checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.4rem;
    align-items: start;
}

#checkbox-grid .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    background: var(--card-bg, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#checkbox-grid .form-check .form-check-input {
    margin-top: 0;
    margin-left: 0;
    flex: 0 0 auto;
}

/* Custom checkbox appearance inside the grid: compact red box when checked with white border */
#checkbox-grid .form-check-input {
    width: 0.95rem;
    height: 0.95rem;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    background-color: transparent;
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}


#checkbox-grid .form-check-input:checked {
    background-color: var(--bg-highlight);
    /* bootstrap danger red */
    border-color: #ffffff !important;
    box-shadow: none;
    /* stronger white check: stroked SVG for bolder, crisper appearance */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12l4 4 12-12' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 72% 72%;
}

#checkbox-grid .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

#checkbox-grid .form-check-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    #checkbox-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (min-width: 992px) {
    #checkbox-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }
}


@media (max-width: 576px) {

    /* Make Time Tool a single column on small screens */
    .time-tool-grid {
        flex-direction: column;
    }

    .time-tool-grid .time-tool-item {
        flex: 0 0 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Slightly reduce gaps and paddings for mobile to fit better */
    .time-tool-grid {
        gap: 8px;
    }

    .time-tool-item .stepper input {
        max-width: 100%;
    }
}

.new-category-actions {
    position: absolute;
    right: 10px;
    top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.category-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: transform 0.15s ease, opacity 0.15s ease;
    flex-shrink: 0;
}

/* 3x3 square grid table for numerology */
.square-grid-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.square-grid-table td {
    width: 33.333%;
    padding: 0;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.square-grid-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 78px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-theme, #1d1d1d);
    background: var(--card-bg, #ffffff);
    box-sizing: border-box;
}

.numerology-table-split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.numerology-table-box {
    min-width: 0;
    width: 100%;
}

.numerology-grid-table {
    max-width: 420px;
    margin: 0 auto;
}

.numerology-data-table {
    max-width: 520px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .numerology-table-split {
        flex-direction: row;
        align-items: flex-start;
    }

    .numerology-table-box {
        flex: 1 1 0;
    }
}

.category-btn [data-feather] {
    stroke-width: 2.5;
    width: 16px;
    height: 16px;
}

.category-btn:active {
    transform: scale(0.95);
}

.category-btn-save {
    background: #2f84ff;
}

.category-btn-cancel {
    background: #e34b4b;
}

.named-logo {
    width: 40px;
    height: 40px;
    font-weight: bold;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 1;
}

.custom-page-title {
    position: relative;
    z-index: 1;

}

.custom-page-title p {
    margin: 0;
    padding: 0;
}

.custom-navbar {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 25px 16px;
    justify-content: space-between;
}

.custom-select-all {
    display: flex;
    align-items: center;
    justify-content: center;

    width: clamp(30px, 10vw, 100px);
    height: 42px;

    border-radius: 20%;

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

    border: 1.5px solid rgba(255, 255, 255, 0.28);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.12);

    cursor: pointer;

    transition: all .25s ease;
}

.custom-select-all:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px) scale(1.03);
}

@media (max-width: 576px) {
    .named-logo {
        width: clamp(25px, 20vw, 28px);
        height: clamp(25px, 20vw, 28px);
        font-size: clamp(8px, 3vw, 16px);
        margin-right: clamp(8px, 2vw, 12px);
    }

    .new-category-actions {
        right: 8px;
        top: 10px;
        gap: 5px;
    }

    .category-btn {
        width: 30px;
        height: 30px;
        border-radius: 5px;
    }

    .category-btn [data-feather] {
        width: 15px;
        height: 15px;
    }
}



/* Overlay search*/

.search-bar-custom {
    position: fixed;
    top: 42%;
    z-index: 9999;
    width: 90vw;
    overflow: hidden;

    display: flex;
    /* align-items: center;
       justify-content: center; */
    background: rgba(255, 255, 255, 0);

    /* background:#fff; */
}

#search-results-container {


    max-height: 70vh;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: auto;
    scrollbar-color: #888 #e6e6e6;
}


.custom-search-results {
    overflow-y: scroll;
    padding: 10px 10px;
    height: 70vh;
    background-color: white;
    margin-top: 10px;

}

#search-results-container::-webkit-scrollbar {
    width: 12px;
}

#search-results-container::-webkit-scrollbar-track {
    background: #e6e6e6;
    border-radius: 999px;
}

#search-results-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 999px;
    border: 3px solid #e6e6e6;
    background-clip: padding-box;
}

#search-results-container::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.search-result {
    padding: 3px 5px;

}

.search-bar-custom input {
    width: 100%;
    height: 100%;

    font-size: 14px;
    border: none;

    color: #fff;
}
@media (min-width: 992px) {
    .search-bar-custom {
        top: 42%;
        width: 80vw;
    }

    .search-bar-custom input {
        font-size: 15px;
    }
}

.tablefont-chart {
    font-size: clamp(10px, 3vw, 19px);
}
.loshu-vedic-blue {
    color: #0a5bcc !important;
}

.loshu-vedic-brown {
    color: #8b4513 !important;
}

.loshu-vedic-yellow {
    color: #ebae12 !important;
}
/* 1. Make text-success a bright neon green */
.text-success {
    color: #36b936 !important; 
}

/* 2. Make text-warning a bright, punchy orange */
.text-warning {
    color: #ff9900 !important; 
}

/* 3. Make text-info a bright cyan/electric blue */
.text-info {
    color: #4B80AD !important; 
}
.subheading {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    width: 100%;
}

.name-dob {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.name-dob p {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.dasha-color-denote {
    margin-top: 0;
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    flex: 0 0 auto;
}

.dasha-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dasha-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 8px;
}

.dasha-color-denote .mahadasha,
.dasha-color-denote .antardasha,
.dasha-color-denote .pratantardasha {
    min-width: 8px;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: transparent;
    background-clip: padding-box;
}

.dasha-color-denote .mahadasha {
    background: #f30a07;
}

.dasha-color-denote .antardasha {
    background: #250362;
}

.dasha-color-denote .pratantardasha {
    background: #fcd525;
}

.mahadasha,
.antardasha,
.pratantardasha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: transparent;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
}

.mahadasha {
    color: #000;
    border: 1.5px solid #f30a07;
}

.antardasha {
    color: #000;
    border: 1.5px solid #250362;
}

.pratantardasha {
    color: #000;
    border: 1.5px solid #fcd525;
}

.dasha-label {
    font-weight: 600;
}

.vedic-grid-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.vedic-grid-item {
    width: 100%;
}

.vedic-grid-card {
    max-width: 300px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg, #ffffff);
}

.vedic-grid-strip {
    background: var(--highlight-color, #2b6cb0);
    color: #ffffff;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
}

.vedic-grid-item .table-responsive {
    max-width: 100%;
    margin: 0;
}

.vedic-grid-item .numerology-grid-table {
    max-width: 100%;
    margin: 0;
}

.vedic-grid-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (max-width: 576px) {
    .subheading {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .dasha-color-denote {
        width: 100%;
        margin-top: 6px;
        gap: 8px;
    }

    .dasha-item {
        gap: 8px;
    }

    .name-dob {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .vedic-grid-container {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .vedic-grid-item {
        flex: 1 1 300px;
    }
}

/* Bigger dropdown buttons and visible overflow for menus (scoped to this page) */
#loshu-professional-report .dropdown .btn {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    min-height: 48px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

#loshu-professional-report .dropdown .btn i.fa-chevron-down {
    font-size: 0.85rem;
}

/* Ensure menus render above and can overflow the card */
#loshu-professional-report .card.card-style {
    overflow: visible;
}

/* Three-column full-width layout */
#loshu-professional-report .dropdown-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    align-items: start;
}

#loshu-professional-report .dropdown-col {
    width: 100%;
    margin: 0 !important;
}

/* Make dropdowns and menus full width of their grid cell */
#loshu-professional-report .dropdown.w-100,
#loshu-professional-report .dropdown {
    width: 100%;
}

#loshu-professional-report .dropdown .dropdown-menu {
    overflow: visible !important;
    max-height: 360px;
    z-index: 2500 !important;
    min-width: unset !important;
    width: 100% !important;
    left: 0 !important;
    right: auto !important;
}

/* Responsive: collapse to single column on small screens */
@media (max-width: 767.98px) {
    #loshu-professional-report .dropdown-row {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    #loshu-professional-report .dropdown .btn {
        padding: 0.9rem 1rem;
        font-size: 1.05rem;
    }
}

/* Reduce dropdown text and padding on small screens */
@media (max-width: 420px) {
    #loshu-professional-report .dropdown .dropdown-item {
        font-size: 0.92rem;
        padding: 0.45rem 0.75rem;
    }

    #loshu-professional-report .dropdown .btn {
        font-size: 0.98rem;
        padding: 0.75rem 0.9rem;
    }
}

/* Very small devices: stack controls as a flex column and further reduce text */
@media (max-width: 390px) {
    #loshu-professional-report .dropdown-row {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }

    #loshu-professional-report .dropdown .btn {
        font-size: 0.92rem;
        padding: 0.6rem 0.8rem;
    }

    #loshu-professional-report .dropdown .dropdown-item {
        font-size: 0.82rem;
        padding: 0.4rem 0.6rem;
        white-space: normal;
    }

    #loshu-professional-report .dropdown .dropdown-menu {
        width: 100% !important;
        left: 0 !important;
    }
}

/* Compact numerology-style square grid for this page */
#loshu-professional-report .numerology-table-split.compact {
    max-width: 540px;
    margin: 1rem auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

#loshu-professional-report .numerology-table-split.compact .numerology-table-box {
    width: 100%;
    min-width: 0;
}

#loshu-professional-report .numerology-grid-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.95rem;
}

#loshu-professional-report .square-grid-cell {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    font-size: 1rem;
}

/* Stats card container responsive styling */
#loshu-professional-report .stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

#loshu-professional-report .stats-cards-grid .card.card-style {
    margin: 0 !important;
    width: 100%;
    min-width: auto;
    max-width: 100%;
}

/* Desktop: numerology on left, stats 2x2 grid on right */
@media (min-width: 1024px) {
    #loshu-professional-report .numerology-table-split.compact {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        max-width: 100%;
        align-items: start;
    }

    #loshu-professional-report .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 1rem;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style {
        min-height: 140px;
    }
}

/* Large tablets: 2x2 grid */
@media (max-width: 1023px) and (min-width: 769px) {
    #loshu-professional-report .numerology-table-split.compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #loshu-professional-report .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    #loshu-professional-report .square-grid-cell {
        min-height: 50px;
        padding: 0.4rem;
        font-size: 0.9rem;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style div[style*="font-size:2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Tablet: 2x2 grid layout */
@media (max-width: 768px) and (min-width: 576px) {
    #loshu-professional-report .numerology-table-split.compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    #loshu-professional-report .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    #loshu-professional-report .numerology-grid-table {
        font-size: 0.85rem;
    }

    #loshu-professional-report .square-grid-cell {
        min-height: 45px;
        padding: 0.35rem;
        font-size: 0.85rem;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style {
        min-height: 130px;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style div[style*="font-size:2rem"] {
        font-size: 1.3rem !important;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style .p-3 {
        padding: 0.6rem !important;
    }
}

/* Small phones: 2 column grid */
@media (max-width: 575px) {
    #loshu-professional-report .numerology-table-split.compact {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    #loshu-professional-report .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 1rem;
    }

    #loshu-professional-report .numerology-grid-table {
        font-size: 0.75rem;
    }

    #loshu-professional-report .square-grid-cell {
        min-height: 40px;
        padding: 0.25rem;
        font-size: 0.7rem;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style {
        min-height: 110px;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style .p-3 {
        padding: 0.6rem !important;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style div[style*="font-size:2rem"] {
        font-size: 1.1rem !important;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style>div:first-child {
        font-size: 0.7rem;
        padding: 0.4rem !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    #loshu-professional-report .numerology-table-split.compact {
        max-width: 100%;
        gap: 0.75rem;
    }

    #loshu-professional-report .numerology-grid-table {
        font-size: 0.65rem;
    }

    #loshu-professional-report .square-grid-cell {
        min-height: 35px;
        padding: 0.2rem;
        font-size: 0.6rem;
    }

    #loshu-professional-report .stats-cards-grid {
        gap: 0.5rem;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style {
        min-height: 100px;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style div[style*="font-size:2rem"] {
        font-size: 0.9rem !important;
    }

    #loshu-professional-report .stats-cards-grid .card.card-style .p-3 {
        padding: 0.4rem !important;
    }
}

#loshu-professional-report .dropdown-col .btn {
    font-size: 0.85rem !important;
    min-height: 2rem !important;
    padding: 0.35rem 0.75rem !important;
}

#loshu-professional-report .dropdown-item {
    font-size: 0.85rem;
}

#loshu-professional-report .dropdown-col label {
    font-size: 0.85rem;
}

#place_of_birth,#match-girl-pob,#match-boy-pob {
    display: inline-block;
    max-width: clamp(25px, 24vw, 500px);
}


/* Custom Card Backgrounds */
.bg-highlight-custom {
    background-color: rgb(239 130 130);
    color: white;
}
.custom-red {
    background-color: #f8d7da !important; /* Light red background */
    color: #842029 !important;            /* Dark red text for readability */
    border: 1px solid #f5c2c7 !important; /* Soft red border */
}

.custom-green {
    background-color: #d1e7dd !important; /* Light green background */
    color: #0f5132 !important;            /* Dark green text for readability */
    border: 1px solid #badbcc !important; /* Soft green border */
}

.custom-blue {
    background-color: #cfe2ff !important; /* Light blue background */
    color: #084298 !important;            /* Dark blue text for readability */
    border: 1px solid #b6d4fe !important; /* Soft blue border */
}

.custom-numerology-green{
    background-color: #50b650 !important;
}

.custom-numerology-red{
    background-color: #e34b4b !important;
}

.custom-numerology-blue{
    background-color: #2f84ff !important;
}


/* menu sidebar */
.menu-sidebar-shell {
        width: 170px;
        min-height: 100%;
        padding: 14px 10px 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        color: #000;
    }

    .menu-sidebar-close {
        align-self: flex-end;
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        text-decoration: none;
        box-sizing: border-box;
        border: 2px solid #dc2626;
        /* rounded red border */
        padding: 2px;
        background: #f08a8a;
        background: transparent;
    }

    .menu-sidebar-close i {
        color: #dc2626;
    }

    .menu-sidebar-table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

    .menu-sidebar-table td {
        border: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        padding: 0;
        vertical-align: middle;
    }

    .menu-sidebar-table tr:last-child td {
        border-bottom: 0 !important;
    }

    .menu-sidebar-heading {
        margin: 0 2px 2px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(0, 0, 0, 0.45);
    }

    .menu-sidebar-link {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 11px 12px;
        border-radius: 14px;
        text-decoration: none;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
        color: #000;
        background: rgba(255, 255, 255, 0.72);
        margin-bottom: 8px;
    }

    .menu-sidebar-link i:first-child {
        width: 18px;
        height: 18px;
        text-align: center;
        flex: 0 0 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .menu-sidebar-link span {
        font-size: 13px;
        letter-spacing: 0.02em;
        color: #000;
    }

    .menu-sidebar-link:focus,
    .menu-sidebar-link:hover {
        color: #000;
        text-decoration: none;
        background: rgba(0, 0, 0, 0.04);
    }

    .menu-sidebar-link i {
        color: inherit;
    }



        
        .control-btn {
            background: #f3f4f6; /* light gray */
            color: #222; 
            border: none;
            box-shadow: none;
        }
        control-btn.active {
    background: var(--bg-highlight);
    color: var(--bg-highlight-color, #fff);
}

        .date-picker-btn {
            background: #f3f4f6; /* light gray */
            color: #222;
            border: none;
        }
        .date-picker-btn.active {
            background: #ff8a80; /* soft red */
            color: #fff;
        }

        .date-picker-btn i,
        .control-btn i,
        .control-btn span,
        .date-picker-btn span {
            color: inherit;
        }



             /* added by badlesh for checout box design  */
              
    


                .scroll-button-new {
                    border-width: 2px !important;
                    border-style: solid !important;
                    border-color: green !important;
                }



                /* COUPON CARD CSS */
                .dealbox-card {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 30px 30px;
                }

                .dealbox-left {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                }

                .dealbox-left-top {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    gap: 20px;
                }

                .dealbox-left .dealbox-title {
                    font-size: 28px;
                    margin: 0;
                    color: #fff;
                }

                .dealbox-left .dealbox-price {
                    font-size: 32px;
                    font-weight: bold;
                }

                .dealbox-left .dealbox-discount-left {
                    font-size: 22px;
                    color: #28a745;
                    padding-top: 5px;
                }

                .dealbox-total-price {
                    font-size: 20px;
                    color: #fff;
                }

                .dealbox-right {
                    display: flex;
                    flex-direction: column;
                    align-items: flex-end;
                    gap: 12px;
                }

                .dealbox-right .dealbox-input-group {
                    display: flex;
                    gap: 10px;
                    width: 100%;
                }

                .dealbox-right .dealbox-input {
                    padding: 10px 15px;
                    border-radius: 8px;
                    border: 1px solid #ccc;
                    font-size: 16px;
                }

                .dealbox-right .dealbox-action-group {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                }

                .dealbox-right .dealbox-discount-right {
                    font-size: 18px;
                    color: red;
                }



                /* NEW: offer box default hidden */
                #offer-layout {
                    display: none;
                }

                .coupon-message {
                    margin-top: 6px;
                    font-size: 14px;
                    font-weight: 500;
                }

                .coupon-success {
                    color: green;
                }

                .coupon-error {
                    color: red;
                }

                /* Fix coupon box on mobile */
                /* Mobile Layout Fix */
                @media (max-width: 576px) {
                    .coupon-box {
                        font-size: 12px;
                        padding: 6px 20px !important;
                        white-space: nowrap;
                    }


                    .coupon-box .label {
                        font-size: 11px;
                    }

                    .coupon-box .code-text {
                        font-size: 12px;
                    }

                    /* Buttons smaller on mobile */
                    .btn {
                        padding: 6px 8px !important;
                        font-size: 12px !important;
                    }

                    /* NEW — Payment buttons mobile fix */
                    .payment-btn-col {
                        width: 90% !important;
                        margin-left: 5%;
                        flex-direction: column;
                        gap: 8px !important;
                        margin-top: 10px;
                    }

                    .payment-btn-col .btn {
                        width: 100% !important;
                        text-align: center;
                    }


                    div#\ coupon-box2 {
                        position: relative;
                        /* margin-left: 70px; */
                        margin-left: 104px;
                        margin-top: 6px;
                    }
                }




/*                vedic cards */

 .btn-wrapper {
                    width: 100%;
                    text-align: center;
                }

                .calc-btn {
                    display: none;
                    /* your requirement */
                    padding: 12px 25px;
                    font-size: 16px;
                    color: #fff;
                    border-radius: 10px;
                    /* background: #3b82f6; */
                    /* blue or your highlight color */
                    border: none;
                    cursor: pointer;
                }

                /* Mobile Responsive */
                @media (max-width: 600px) {
                    .calc-btn {
                        width: 90%;
                        /* full width on mobile */
                        font-size: 18px;
                        /* bigger text for mobile */
                        padding: 14px 0;
                    }
                }
                #question option {
                    color: black;
                    /* On mobile, some browsers ignore background for options */
                    background-color: #fff;
                    /* Option background remains readable */
                }


                #question {
                    width: 100%;
                    /* Full width on mobile */
                    max-width: 400px;
                    /* Optional max width */
                    padding: 0px 15px;
                    font-size: 16px;
                    margin-left: 35%;
                    color: white;
                    /* White text */
                    background-color: #444;
                    /* Dark background */
                    border: 1px solid #666;
                    border-radius: 8px;
                    outline: none;
                    cursor: pointer;
                    appearance: none;
                    /* Remove default arrow on some browsers */
                    -webkit-appearance: none;
                    -moz-appearance: none;
                }

                @media (max-width: 600px) {
                    #question {
                        font-size: 14px;
                        padding: 0px 25px;
                    }

                    #question {
                        width: 95%;
                        /* Full width on mobile */
                        max-width: 400px;
                        /* Optional max width */
                        padding: 0px 15px;
                        font-size: 16px;
                        color: white;
                        margin-left: 2%;
                        margin-right: 2%;
                        /* White text */
                        background-color: #444;
                        /* Dark background */
                        border: 1px solid #666;
                        border-radius: 8px;
                        outline: none;
                        cursor: pointer;
                        appearance: none;
                        /* Remove default arrow on some browsers */
                        -webkit-appearance: none;
                        -moz-appearance: none;
                    }
                }




                .download_lalkitab_report {
            position: fixed;
            left: 12px;
            right: 12px;
            bottom: 65px;
            z-index: 1050;
            max-width: 720px;
            margin: 0 auto;
            background: var(--bs-body-bg);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
            /* start hidden */
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 220ms ease, transform 220ms ease;
            pointer-events: none;
        }

        /* Visible state after the trigger element is scrolled past */
        .download_lalkitab_report.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .download_lalkitab_report .btn {
            padding-left: 18px;
            padding-right: 18px;
        }

        @media (max-width: 576px) {
            .download_lalkitab_report {
                left: 8px;
                right: 8px;
                padding: 10px;
                bottom: 75px;
            }
        }



        /* Make sure the parent container has position: relative! */
.relative-container {
    position: relative; 
    min-height: 200px; /* Ensures the div doesn't collapse while loading */
}

/* The Local Loader Overlay */
.local-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 50; /* Stays above the canvas/tables, but below page headers */
    border-radius: 8px; /* Optional: rounds the corners of the overlay */
}

/* Custom Spinner Animation */
.local-spinner {
    border: 4px solid #f3f3f3; 
    border-top: 4px solid var(--bg-highlight); 
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: local-spin 1s linear infinite;
}

@keyframes local-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.compact-list a{
        padding: 6px 0 !important;
        max-height: 43px !important;
       }





          .custom-header-dropdown {
            position: fixed !important;
            top: 75px !important;
            right: 12px !important;
            left: auto !important;
            transform: none !important;
            z-index: 1200;
            width: 212px;
            margin-top: 6px;
            border-bottom: 0 !important;
            backdrop-filter: blur(20px);
            animation: dropdownFade .2s ease;
        }

        .kundli-actions-card {
            overflow: visible !important;
            transform: none !important;
            z-index: 1000;
        }

        .custom-action-item {
            display: flex;
            align-items: center;
            gap: 8px;
            border-radius: 16px;
            padding: 9px 10px;
            border-bottom: 0 !important;
            transition: all .2s ease;
            background: transparent;
        }

        .custom-action-item:hover {
            transform: translateX(4px);
            background: rgba(255, 255, 255, 0.03);
            color: #fff !important;
        }

        .custom-action-item:hover .fw-semibold,
        .custom-action-item:hover small,
        .custom-action-item:hover i {
            color: #fff !important;
        }

        .action-icon {
            width: 36px;
            height: 36px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .action-icon i {
            font-size: 14px;
        }

        .danger-item {
            background: rgba(255, 0, 0, 0.03);
        }

        .danger-item:hover {
            background: rgba(255, 0, 0, 0.08);
        }

        @keyframes dropdownFade {
            from {
                opacity: 0;
                transform: translateY(10px) scale(.96);
            }

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

          .aspect-legend {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            flex-wrap: wrap;
            margin: 10px 0 0;
            font-size: 12px;
            font-weight: 700;
        }

        .relation-subtext {
            display: block;
            font-size: 11px;
            font-weight: 600;
            opacity: 0.7;
            margin-top: 2px;
        }

        .relation-row-positive {
            background: rgba(34, 197, 94, 0.06);
        }

        .relation-row-negative {
            background: rgba(239, 68, 68, 0.06);
        }





        /* monthly panchang */
           @page {
        size: A4 landscape;
      }

      #monthly-table-body {
        table-layout: fixed;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        font-family: "Poppins", sans-serif;
      }

      #monthly-table-body thead th {
        background: transparent !important;
        color: #fff !important;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        padding: 8px 2px !important;
        border: none !important;
        text-align: center;
      }

      #monthly-table-body tbody td {
        height: auto !important;
        min-height: 68px;
        padding: 4px 3px 6px !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        background-color: transparent !important;
        vertical-align: top;
        text-align: center;
        transition:
          background-color 0.2s ease,
          box-shadow 0.2s ease;
        position: relative;
        overflow: hidden;
      }

      #monthly-table-body tbody td:hover {
        background-color: rgba(74, 137, 220, 0.04) !important;
      }

      #monthly-table-body tbody td .small.text-muted {
        font-size: 0.6rem !important;
        line-height: 1.15 !important;
        font-weight: 500;
        opacity: 0.72;
        margin-bottom: 1px;
        letter-spacing: 0.01em;
        color: inherit !important;
      }

      #monthly-table-body tbody td .fw-bold {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        margin-top: 1px !important;
        line-height: 1.2;
      }

      #monthly-table-body tbody td[style*="ffebee"] {
        background-color: rgba(255, 72, 72, 0.07) !important;
        border-color: rgba(255, 72, 72, 0.15) !important;
      }

      #monthly-table-body tbody td .text-danger {
        font-size: 0.52rem !important;
        line-height: 1.1 !important;
        font-weight: 500;
        margin-top: 3px !important;
        padding: 2px 1px;
        border-radius: 3px;
        background: rgba(255, 72, 72, 0.06);
        color: #d32f2f !important;
      }

      #monthly-table-body tbody td .text-danger strong {
        font-size: 0.55rem;
        letter-spacing: 0.03em;
      }

      #monthly-table-body tbody td[style*="fdfdfd"],
      #monthly-table-body tbody td:empty {
        background: repeating-linear-gradient(
          45deg,
          transparent,
          transparent 4px,
          rgba(0, 0, 0, 0.015) 4px,
          rgba(0, 0, 0, 0.015) 5px
        ) !important;
        border-color: rgba(0, 0, 0, 0.04) !important;
        min-height: 40px;
      }

      .moon-table-header h3 {
        font-size: 1.1rem;
        letter-spacing: 0.02em;
      }

      .moon-table-header p {
        font-size: 0.78rem;
        opacity: 0.65;
      }

      .theme-dark #monthly-table-body tbody td {
        border-color: rgba(255, 255, 255, 0.06) !important;
        background-color: transparent !important;
      }

      .theme-dark #monthly-table-body tbody td:hover {
        background-color: rgba(74, 137, 220, 0.08) !important;
      }

      .theme-dark #monthly-table-body tbody td .small.text-muted {
        color: rgba(255, 255, 255, 0.55) !important;
      }

      .theme-dark #monthly-table-body tbody td[style*="ffebee"] {
        background-color: rgba(255, 72, 72, 0.1) !important;
        border-color: rgba(255, 72, 72, 0.18) !important;
      }

      .theme-dark #monthly-table-body tbody td .text-danger {
        color: #ff6b6b !important;
        background: rgba(255, 72, 72, 0.08);
      }

      .theme-dark #monthly-table-body tbody td[style*="fdfdfd"],
      .theme-dark #monthly-table-body tbody td:empty {
        background: repeating-linear-gradient(
          45deg,
          transparent,
          transparent 4px,
          rgba(255, 255, 255, 0.02) 4px,
          rgba(255, 255, 255, 0.02) 5px
        ) !important;
        border-color: rgba(255, 255, 255, 0.04) !important;
      }

      @media (max-width: 576px) {
        #monthly-table-body thead th {
          font-size: 0.58rem;
          padding: 6px 1px !important;
          letter-spacing: 0;
        }

        #monthly-table-body tbody td {
          padding: 3px 1px 4px !important;
          min-height: 56px;
        }

        #monthly-table-body tbody td .small.text-muted {
          font-size: 0.48rem !important;
          line-height: 1.1 !important;
        }

        #monthly-table-body tbody td .fw-bold {
          font-size: 0.85rem !important;
          margin-top: 0 !important;
        }

        #monthly-table-body tbody td .text-danger {
          font-size: 0.42rem !important;
          line-height: 1.05 !important;
          padding: 1px;
        }

        #monthly-table-body tbody td .text-danger strong {
          font-size: 0.45rem;
        }

        .moon-table-header h3 {
          font-size: 0.95rem;
        }
      }

      @media (max-width: 380px) {
        #monthly-table-body thead th {
          font-size: 0.5rem;
          padding: 5px 0 !important;
        }

        #monthly-table-body tbody td {
          padding: 2px 1px 3px !important;
          min-height: 48px;
        }

        #monthly-table-body tbody td .small.text-muted {
          font-size: 0.42rem !important;
        }

        #monthly-table-body tbody td .fw-bold {
          font-size: 0.75rem !important;
        }

        #monthly-table-body tbody td .text-danger {
          font-size: 0.38rem !important;
        }
      }

      @media (min-width: 577px) and (max-width: 991px) {
        #monthly-table-body tbody td {
          min-height: 72px;
          padding: 4px 3px 5px !important;
        }

        #monthly-table-body tbody td .fw-bold {
          font-size: 1rem !important;
        }

        #monthly-table-body tbody td .small.text-muted {
          font-size: 0.58rem !important;
        }
      }

      @media (min-width: 992px) {
        #monthly-table-body tbody td {
          min-height: 80px;
          padding: 5px 4px 8px !important;
        }

        #monthly-table-body tbody td .fw-bold {
          font-size: 1.15rem !important;
        }

        #monthly-table-body tbody td .small.text-muted {
          font-size: 0.68rem !important;
        }

        #monthly-table-body tbody td .text-danger {
          font-size: 0.58rem !important;
        }
      }

      @media print {
        #monthly-table-body thead tr {
          background: #4a89dc !important;
          -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
        }
        #monthly-table-body thead th {
          color: #fff !important;
        }
      }

      .panchak-info-card {
        border-radius: 8px;
        border: 1px solid rgba(255, 72, 72, 0.18);
        background: rgba(255, 72, 72, 0.04);
        overflow: hidden;
        font-family: "Poppins", sans-serif;
      }

      .panchak-info-header {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        background: rgba(255, 72, 72, 0.08);
        color: #d32f2f;
        font-size: 0.68rem;
        border-bottom: 1px solid rgba(255, 72, 72, 0.1);
      }

      .panchak-info-header i {
        font-size: 0.62rem;
      }

      .panchak-info-body {
        padding: 6px 10px;
      }

      .panchak-info-dates {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
        margin-bottom: 0;
      }

      .panchak-label {
        font-size: 0.58rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        color: #999;
      }

      .panchak-value {
        font-size: 0.65rem;
        font-weight: 600;
        color: #d32f2f;
        background: rgba(255, 72, 72, 0.08);
        padding: 2px 6px;
        border-radius: 4px;
      }

      .panchak-info-desc {
        display: flex;
        gap: 5px;
        align-items: flex-start;
        font-size: 0.6rem;
        line-height: 1.4;
        color: #666;
        padding-top: 6px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
      }

      .panchak-info-desc i {
        color: #4a89dc;
        margin-top: 2px;
        flex-shrink: 0;
      }

      .theme-dark .panchak-info-card {
        background: rgba(255, 72, 72, 0.06);
        border-color: rgba(255, 72, 72, 0.15);
      }

      .theme-dark .panchak-info-header {
        background: rgba(255, 72, 72, 0.1);
        color: #ff6b6b;
      }

      .theme-dark .panchak-value {
        color: #ff6b6b;
        background: rgba(255, 72, 72, 0.1);
      }

      .theme-dark .panchak-label {
        color: #777;
      }

      .theme-dark .panchak-info-desc {
        color: #999;
        border-top-color: rgba(255, 255, 255, 0.06);
      }

      @media (max-width: 576px) {
        .panchak-info-header {
          padding: 4px 8px;
          font-size: 0.6rem;
        }
        .panchak-info-body {
          padding: 5px 8px;
        }
        .panchak-info-dates {
          gap: 4px;
        }
        .panchak-value {
          font-size: 0.58rem;
          padding: 1px 5px;
        }
        .panchak-info-desc {
          font-size: 0.52rem;
        }
      }


      /* lucky name */
       #nameNumerology-grid-calculator .num-boxes {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            padding-top: 0.5rem;
        }

        #nameNumerology-grid-calculator .num-box {
            width: 92px;
            height: 92px;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        }

        #nameNumerology-grid-calculator .num-box .num-title {
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            text-align: center;
            margin-bottom: 6px;
            opacity: 0.95;
        }

        #nameNumerology-grid-calculator .num-box .num-value {
            font-size: 1.5rem;
            font-weight: 900;
            line-height: 1;
        }

        /* small responsive tweak */
        @media (max-width:420px) {
            #nameNumerology-grid-calculator .num-box {
                width: 78px;
                height: 78px
            }

            #nameNumerology-grid-calculator .num-box .num-title {
                font-size: 0.62rem
            }

            #nameNumerology-grid-calculator .num-box .num-value {
                font-size: 1.25rem
            }
        }


        /* matchmaking */
         @media (min-width: 900px) {
            .two-column-forms {
                display: flex;
                gap: 1rem;
                align-items: flex-start;
            }

            .two-column-forms .card {
                flex: 1 1 0;
                margin-bottom: 0 !important;
            }
        }


        
      .time-modal {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 99999;
      }
      .time-card {
        width: 320px;
        background: #fff;
        border-radius: 20px;
        padding: 20px;
      }

      .picker-container {
        position: relative;
        display: flex;
        justify-content: center;
        gap: 10px;
        height: 220px;
      }
      .wheel:hover {
        cursor: grab;
      }

      .wheel {
        width: 80px;
        height: 220px;
        overflow-y: auto;

        scroll-snap-type: y proximity;
        scroll-behavior: smooth;

        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
        -ms-overflow-style: none;

        mask-image: linear-gradient(
          to bottom,
          transparent,
          black 20%,
          black 80%,
          transparent
        );
      }

      .wheel::-webkit-scrollbar {
        display: none;
      }

      .wheel-item {
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        scroll-snap-align: center;
        font-size: 22px;
        font-weight: 600;
      }

      .selection-box {
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        margin: auto;
        width: 260px;
        height: 44px;
        border-radius: 12px;
        border: 2px solid var(--bg-highlight);
        background: oklch(from var(--bg-highlight) l c h / 0.1);
        pointer-events: none;
      }

      .time-footer {
        display: flex;
        gap: 10px;
        margin-top: 20px;
      }

      .time-footer button {
        flex: 1;
        height: 42px;
        border: none;
        border-radius: 10px;
      }

      .time-footer #saveTime {
        background: var(--bg-highlight);
        color: var(--bg-highlight-color, #fff);
      }
    
      .empty {
        visibility: hidden;
      }





      /* ── Varshphal Quick Predictions ── */
.varshphal-predictions {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.varshphal-pred-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 180ms ease;
}

.varshphal-pred-item:last-child {
    border-bottom: none;
}

.varshphal-pred-item:hover {
    background: rgba(0, 0, 0, 0.015);
    border-radius: 8px;
}



.varshphal-pred-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;

        background-color: var(--bg-highlight) !important;
    color: var(--bg-highlight-color, #fff) !important;
}

.varshphal-pred-body {
    flex: 1;
    min-width: 0;
}

.varshphal-pred-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.varshphal-pred-planet {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.varshphal-pred-food {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    background: var(--bg-highlight);
    color: #fff;
    line-height: 1;
}

.varshphal-pred-text {
    font-size: 13.5px;
    line-height: 1.55;
    opacity: 0.78;
    margin: 0;
}

@media (max-width: 576px) {
    .varshphal-pred-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 14px;
        border-radius: 8px;
    }

    .varshphal-pred-planet {
        font-size: 14px;
    }

    .varshphal-pred-food {
        min-width: 20px;
        height: 20px;
        font-size: 11px;
        padding: 0 5px;
    }

    .varshphal-pred-text {
        font-size: 13px;
    }

    .varshphal-pred-item {
        gap: 10px;
        padding: 12px 2px;
    }
}







#additional-significator-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

#additional-significator-table tr:first-child th:first-child,
#additional-significator-table tr:first-child td:first-child {
    border-top-left-radius: 12px !important;
}

#additional-significator-table tr:first-child th:last-child,
#additional-significator-table tr:first-child td:last-child {
    border-top-right-radius: 12px !important;
}

#additional-significator-table tr:last-child th:first-child,
#additional-significator-table tr:last-child td:first-child {
    border-bottom-left-radius: 12px !important;
}

#additional-significator-table tr:last-child th:last-child,
#additional-significator-table tr:last-child td:last-child {
    border-bottom-right-radius: 12px !important;
}

#additional-significator-table tbody tr:nth-child(3n) th,
#additional-significator-table tbody tr:nth-child(3n) td {
    /* border-bottom: 1px solid var(--bg-highlight) !important; */
    border-bottom: 5px solid #e0e0e0 !important;
}

#additional-significator-table tbody tr:last-child th,
#additional-significator-table tbody tr:last-child td {
    border-bottom: none !important;
}

.subLordHouse-bg {
    background-color: #cff6d1 !important;
    color: #111111 !important;
}

.NakLordHouse-bg {
    background-color: #fdf9ba !important;
    color: #111111 !important;
}

.event-green-span {
    padding: 2px 3px;
    font-size: 17px !important;
    color: #2aba66;
    background-color: #fcfea2;
    margin: 0;
    font-weight: 600;
}
.event-neutral-span {
    padding: 2px 3px;
    font-size: 17px !important;
    margin: 0;
    font-weight: 600;
}
.event-container {
    display: flex;
    gap: 0px;
}

.event-violet-span {
    padding: 2px 3px;
    font-size: 17px !important;
    color: #4c5fce;
    background-color: #fcfea2;
    margin: 0;
    font-weight: 600;
}

.event-black-span {
    padding: 2px 3px;
    font-size: 17px !important;
    color: #000000;
}

.event-red-span {
    padding: 2px 3px;
    font-size: 17px !important;
    color: #fc0803;
    background-color: #ffcdd4;

    font-weight: 600;
}

.cusp-modal {
    display: block;
    width: 94%;
    height: 94%;
}

@media (min-width: 400px) {
    .cusp-modal {
        width: 90vw;
        max-height: 90vh;
    }

    .events-modal {
        width: 90vw;
        max-height: 90vh;
    }
}



/* horary css */
.horary-card-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 20px;
    background: oklch(from var(--bg-highlight) l c h / 0.08);
    border: 1.5px solid oklch(from var(--bg-highlight) l c h / 0.25);
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

@supports not (background: oklch(from red l c h / 0.1)) {
    .horary-card-box {
        background: rgba(74, 137, 220, 0.08);
        border: 1.5px solid rgba(74, 137, 220, 0.25);
    }
}



.horary-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.horary-card-badge {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: var(--bg-highlight) !important;
    color: var(--bg-highlight-color, #ffffff) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 4px 12px oklch(from var(--bg-highlight) l c h / 0.3);
    flex-shrink: 0;
}

.horary-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.horary-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    margin: 0;
}

.theme-dark .horary-card-title {
    color: #f1f5f9;
}

.horary-card-subtitle {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--bg-highlight);
    opacity: 0.85;
    margin: 0;
}

.horary-card-right {
    flex-shrink: 0;
}

.horary-input-wrapper {
    position: relative;
    width: 84px;
    height: 52px;
}

.horary-number-input {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: 2px solid var(--bg-highlight) !important;
    background-color: #ffffff !important;
    color: var(--bg-highlight) !important;
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    outline: none !important;
    transition: all 0.2s ease;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}



.horary-number-input:focus {
    box-shadow: 0 0 0 4px oklch(from var(--bg-highlight) l c h / 0.2);
}

.horary-number-input::-webkit-outer-spin-button,
.horary-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



@media (max-width: 480px) {
    .horary-card-box {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 16px;
    }

    .horary-card-badge {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 18px;
    }

    .horary-card-title {
        font-size: 1rem;
    }

    .horary-card-subtitle {
        font-size: 0.75rem;
    }

    .horary-input-wrapper {
        width: 72px;
        height: 46px;
    }

    .horary-number-input {
        font-size: 1.25rem;
        border-radius: 12px;
    }
}
#menu-new {
    height: auto !important;
    padding-bottom: 8px !important;
}

@media(min-width:500px) {
    #menu-new {
        height: auto !important;
        padding-bottom: 8px !important;
    }
}



/* coordination css niryan page */
.border-right-table {
    border-right: 1px solid #e0e0e0;
}

.border-top-table {
    border-top: 1px solid var(--bg-highlight);
}

.border-left-table {
    border-left: 5px solid #e0e0e0 !important;
}

.kp-table>.kp-group {
    border-top: none !important;
}

.kp-table>.kp-group:not(:first-child) {
    border-top: none !important;
}

.kp-table .kp-group>tr>td,
.kp-table .kp-group>tr>th {
    border-bottom: 1px solid #dee2e6;
}

.kp-table .kp-group+.kp-group tr:first-child th,
.kp-table .kp-group+.kp-group tr:first-child td {
    border-top: 5px solid #e0e0e0 !important;
}

@media (max-width: 576px) {
    .kp-table .kp-group {
        display: grid;
        grid-template-columns: auto 1fr;
    }


    .border-left-table {
        border-left: none !important;
    }


    .kp-table .kp-group tr {
        display: contents;
    }

    .kp-table .kp-group .border-right-table {
        border-right: none;
    }

    .kp-table .kp-group .border-left-table {
        border-left: none;
    }

    .kp-table .kp-group tr:nth-child(1) th:first-child {
        order: 1;
    }

    .kp-table .kp-group tr:nth-child(1) td:nth-child(2) {
        order: 2;
    }

    .kp-table .kp-group tr:nth-child(2) th:first-child {
        order: 3;
    }

    .kp-table .kp-group tr:nth-child(2) td:nth-child(2) {
        order: 4;
    }

    .kp-table .kp-group tr:nth-child(3) th:first-child {
        order: 5;
    }

    .kp-table .kp-group tr:nth-child(3) td:nth-child(2) {
        order: 6;
    }

    .kp-table .kp-group tr:nth-child(1) th:nth-child(3) {
        order: 7;
    }

    .kp-table .kp-group tr:nth-child(1) td:nth-child(4) {
        order: 8;
    }

    .kp-table .kp-group tr:nth-child(2) th:nth-child(3) {
        order: 9;
    }

    .kp-table .kp-group tr:nth-child(2) td:nth-child(4) {
        order: 10;
    }

    .kp-table .kp-group tr:nth-child(3) th:nth-child(3) {
        order: 11;
    }

    .kp-table .kp-group tr:nth-child(3) td:nth-child(4) {
        order: 12;
    }

    .kp-table .kp-group tr:nth-child(1) th:nth-child(3) {
        border-top: 5px solid #e0e0e0 !important;
    }

    .kp-table .kp-group tr:nth-child(1) td:nth-child(4) {
        border-top: 5px solid #e0e0e0 !important;
    }
}

.event-green-span {
        padding: 2px 3px;
        font-size: 17px !important;
        color: #2aba66;
        background-color: #fcfea2;
        margin: 0;
        font-weight: 600;
      }

      .event-container {
        display: flex;
        gap: 0px;
      }

      .event-violet-span {
        padding: 2px 3px;
        font-size: 17px !important;
        color: #4c5fce;
        background-color: #fcfea2;
        margin: 0;
        font-weight: 600;
      }

      .event-black-span {
        padding: 2px 3px;
        font-size: 17px !important;
        color: #000000;
      }

      .event-red-span {
        padding: 2px 3px;
        font-size: 17px !important;
        color: #fc0803;
        background-color: #ffcdd4;

        font-weight: 600;
      }

      


      /* free apps */

.free-apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .free-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .free-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 1000px;
    }
}

.free-app-card {
    display: block;
    text-align: center;
    border-radius: 16px;
    padding: 24px 12px 20px;
    text-decoration: none !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.free-app-card .app-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.free-app-card .app-icon-wrap i {
    font-size: 32px;
}

.free-app-card h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.free-app-card p {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.7;
    margin-bottom: 0;
}

.free-app-card .app-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.06);
}

.icon-bg-green {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.icon-bg-blue {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

.icon-bg-orange {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
}

.icon-bg-purple {
    background: rgba(156, 39, 176, 0.15);
    color: #9c27b0;
}

.icon-bg-red {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.icon-bg-teal {
    background: rgba(0, 150, 136, 0.15);
    color: #009688;
}

/* reports */

.reports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
}

@media (min-width: 600px) {
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .reports-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 1000px;
        margin: 0 auto;
    }
}

.report-card {
    border-radius: 16px;
    padding: 20px 16px 18px;

    display: flex;
    z-index: 1;
    flex-direction: column;
}

.report-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.report-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-icon-astro {
    background: rgba(255, 193, 7, 0.15);
}

.report-icon-vastu {
    background: rgba(76, 175, 80, 0.15);
}

.report-icon-lalkitab {
    background: rgba(211, 53, 35, 0.15);
}

.report-price-tag {
    text-align: right;
}

.report-price {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.report-price-label {
    display: block;
    font-size: 10px;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.report-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.report-desc {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.65;
    margin-bottom: 14px;
    flex-grow: 1;
}

.report-langs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lang-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    justify-content: center;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.06);
}

.report-btn {
    font-size: 13px !important;
    padding: 10px 0 !important;
    letter-spacing: 0.5px;
}

