/* Bhagvad Bhakti Panchang Plugin Styles */
.bb-panchang-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
    color: #2d3748;
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 24px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(194, 65, 12, 0.08);
    box-sizing: border-box;
}

.bb-panchang-wrapper * {
    box-sizing: border-box;
}

/* Header & Controls */
.bb-panchang-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 2px solid #ffedd5;
    margin-bottom: 20px;
}

.bb-panchang-title-wrap h3 {
    margin: 0 0 4px 0;
    color: #9a3412;
    font-size: 1.5rem;
    font-weight: 700;
}

.bb-panchang-subtitle {
    font-size: 0.9rem;
    color: #78716c;
}

.bb-city-selector-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bb-city-selector-wrap label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #44403c;
}

.bb-city-select {
    padding: 8px 14px;
    border: 1.5px solid #fdba74;
    border-radius: 8px;
    background: #fffdfa;
    color: #7c2d12;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bb-city-select:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* Month Navigation Bar */
.bb-month-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 20px;
}

.bb-nav-btn {
    background: #ea580c;
    color: #ffffff !important;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.bb-nav-btn:hover {
    background: #c2410c;
    color: #ffffff;
}

.bb-nav-today-btn {
    background: #f97316;
    margin-left: 8px;
}

.bb-current-month-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #7c2d12;
    text-align: center;
}

/* Calendar Grid */
.bb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 25px;
}

.bb-grid-header {
    text-align: center;
    font-weight: 700;
    padding: 8px 4px;
    color: #9a3412;
    background: #fed7aa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.bb-day-cell {
    background: #fffdfa;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    min-height: 80px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    position: relative;
}

.bb-day-cell:hover {
    border-color: #ea580c;
    background: #fff7ed;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(234, 88, 12, 0.12);
}

.bb-day-cell.bb-empty-cell {
    background: #fafaf9;
    border-color: #f5f5f4;
    cursor: default;
    opacity: 0.4;
}

.bb-day-cell.bb-empty-cell:hover {
    transform: none;
    box-shadow: none;
    border-color: #f5f5f4;
}

.bb-day-cell.bb-today {
    border: 2px solid #ea580c;
    background: #fff7ed;
}

.bb-day-cell.bb-selected {
    border: 2px solid #9a3412;
    background: #fed7aa;
    box-shadow: 0 0 0 3px rgba(154, 52, 18, 0.2);
}

.bb-day-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bb-day-num {
    font-size: 1.05rem;
    font-weight: 700;
    color: #431407;
}

.bb-day-cell.bb-today .bb-day-num {
    color: #ea580c;
}

.bb-day-tithi {
    font-size: 0.76rem;
    color: #7c2d12;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.2;
}

.bb-day-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 4px;
}

.bb-badge {
    display: inline-block;
    font-size: 0.68rem;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1;
}

.bb-badge-ekadashi {
    background: #f59e0b;
    color: #78350f;
}

.bb-badge-purnima {
    background: #fbbf24;
    color: #451a03;
}

.bb-badge-amavasya {
    background: #64748b;
    color: #ffffff;
}

.bb-badge-pradosh {
    background: #be123c;
    color: #ffffff;
}

.bb-badge-festival {
    background: #ea580c;
    color: #ffffff;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Detailed Dainik Panchang Card */
.bb-daily-card {
    background: #ffffff;
    border: 1.5px solid #ea580c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.08);
}

.bb-daily-card-header {
    background: linear-gradient(135deg, #c2410c, #ea580c);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.bb-daily-date-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.bb-daily-location-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bb-daily-festival-alert {
    background: #fef08a;
    color: #854d0e;
    padding: 10px 18px;
    font-weight: 700;
    border-bottom: 1px solid #fde047;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sun / Moon Timings Banner */
.bb-sun-moon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px 20px;
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    text-align: center;
}

.bb-sun-moon-item {
    padding: 8px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ffedd5;
}

.bb-sm-label {
    font-size: 0.8rem;
    color: #78716c;
    font-weight: 600;
    margin-bottom: 4px;
}

.bb-sm-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: #9a3412;
}

/* Detail Tables Grid */
.bb-detail-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.bb-detail-box {
    background: #fffdfa;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    overflow: hidden;
}

.bb-box-title {
    background: #fed7aa;
    color: #7c2d12;
    padding: 10px 14px;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

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

.bb-info-table tr {
    border-bottom: 1px solid #ffedd5;
}

.bb-info-table tr:last-child {
    border-bottom: none;
}

.bb-info-table td {
    padding: 10px 14px;
    font-size: 0.92rem;
}

.bb-td-lbl {
    font-weight: 600;
    color: #44403c;
    width: 45%;
    background: #fafaf9;
}

.bb-td-val {
    font-weight: 700;
    color: #1c1917;
}

.bb-val-auspicious {
    color: #15803d;
}

.bb-val-inauspicious {
    color: #b91c1c;
}

/* Action Button Container */
.bb-action-container {
    padding: 16px 20px;
    background: #fafaf9;
    border-top: 1px solid #f5f5f4;
    text-align: center;
}

.bb-detail-toggle-btn {
    background: #ea580c;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);
}

.bb-detail-toggle-btn:hover {
    background: #c2410c;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

/* Loading Overlay */
.bb-loading-overlay {
    text-align: center;
    padding: 40px;
    color: #ea580c;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .bb-panchang-wrapper {
        padding: 14px;
    }

    .bb-sun-moon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bb-detail-columns {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .bb-calendar-grid {
        gap: 4px;
    }

    .bb-day-cell {
        min-height: 65px;
        padding: 4px 5px;
    }

    .bb-day-num {
        font-size: 0.95rem;
    }

    .bb-day-tithi {
        font-size: 0.68rem;
    }

    .bb-current-month-heading {
        font-size: 1.05rem;
    }
}

/* Timing details & Next transition styling */
.bb-timing-sublabel {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: #b45309;
    margin-top: 3px;
    background: #fffbeb;
    padding: 2px 8px;
    border-radius: 4px;
    border-left: 3px solid #f59e0b;
}

/* Internal Linking Section */
.bb-internal-links-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #fed7aa;
}

.bb-date-quick-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    background: #fff7ed;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ffedd5;
}

.bb-date-nav-title {
    font-weight: 700;
    color: #9a3412;
    font-size: 0.95rem;
}

.bb-link-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #fdba74;
    color: #9a3412 !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bb-link-pill:hover {
    background: #ea580c;
    color: #ffffff !important;
    border-color: #ea580c;
}

.bb-link-pill-active {
    background: #ea580c;
    color: #ffffff !important;
    border-color: #ea580c;
}

.bb-city-links-block {
    margin-bottom: 20px;
}

.bb-sub-heading {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #7c2d12;
}

.bb-city-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bb-city-chip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    background: #fafaf9;
    border: 1px solid #fed7aa;
    color: #44403c !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bb-city-chip:hover {
    background: #fff7ed;
    border-color: #ea580c;
    color: #9a3412 !important;
    transform: translateY(-1px);
}

.bb-city-chip-active {
    background: #fed7aa;
    border-color: #ea580c;
    color: #9a3412 !important;
    font-weight: 700;
}

/* =========================================================================
   DRIKPANCHANG LEVEL DETAILED DAY PANCHANG STYLES
   ========================================================================= */

.bb-drik-detailed-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
    color: #2d3748;
    margin: 25px 0;
}

.bb-crosslink-top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 1rem;
    color: #7c2d12;
}

.bb-btn-switch-calendar {
    background: #ea580c;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bb-btn-switch-calendar:hover {
    background: #c2410c;
    transform: translateY(-1px);
}

.bb-drik-card {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 3px 12px rgba(194, 65, 12, 0.06);
}

.bb-drik-card-title {
    margin: 0 0 16px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #9a3412;
    border-bottom: 2px solid #ffedd5;
    padding-bottom: 10px;
}

.bb-drik-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bb-drik-kpi {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
}

.bb-kpi-lbl {
    font-size: 0.82rem;
    color: #78716c;
    font-weight: 600;
    margin-bottom: 4px;
}

.bb-kpi-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #9a3412;
}

.bb-drik-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bb-drik-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.bb-drik-table tr {
    border-bottom: 1px solid #ffedd5;
}

.bb-drik-table tr:last-child {
    border-bottom: none;
}

.bb-drik-table th {
    width: 35%;
    background: #fffdfa;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #44403c;
    text-align: center;
}

.bb-drik-table td {
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #1c1917;
}

/* FAQ Accordion Styling */
.bb-faq-item {
    padding: 14px 0;
    border-bottom: 1px solid #ffedd5;
}

.bb-faq-item:last-child {
    border-bottom: none;
}

.bb-faq-question {
    color: #7c2d12;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.bb-faq-answer {
    color: #44403c;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .bb-drik-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .bb-drik-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .bb-drik-table th {
        width: 45%;
    }
}

/* Crosslink Glowing CTA Card */
.bb-crosslink-card-glow {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #f97316;
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.12);
}

.bb-crosslink-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #9a3412;
    margin-bottom: 4px;
}

.bb-crosslink-desc {
    font-size: 0.92rem;
    color: #44403c;
    line-height: 1.4;
}

.bb-btn-detailed-glow {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(194, 65, 12, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bb-btn-detailed-glow:hover {
    background: linear-gradient(135deg, #c2410c, #9a3412);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(194, 65, 12, 0.35);
}


/* ==========================================================================
   Harmonized Drik Master Table Styles (Matching City Panchang Design System)
   ========================================================================== */
.bb-drik-master-wrapper {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 24px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(194, 65, 12, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Devanagari', sans-serif;
}

.bb-drik-master-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1.5px solid #fed7aa;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.bb-drik-master-table tr {
    border-bottom: 1px solid #ffedd5;
}

.bb-drik-master-table tr:last-child {
    border-bottom: none;
}

.bb-drik-section-heading th {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #9a3412;
    font-size: 1.12rem;
    font-weight: 700;
    padding: 14px 18px;
    text-align: center;
    border-top: 2px solid #fdba74;
    border-bottom: 1.5px solid #fed7aa;
}

.bb-drik-master-table .bb-lbl {
    background: #fffdfa;
    width: 22%;
    padding: 11px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #7c2d12;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #fed7aa;
}

.bb-drik-master-table .bb-val {
    width: 28%;
    padding: 11px 16px;
    font-size: 0.95rem;
    color: #1c1917;
    vertical-align: middle;
    border-right: 1px solid #ffedd5;
}

.bb-drik-master-table tr td:last-child {
    border-right: none;
}

.bb-drik-master-table .bb-sub-info {
    font-size: 0.82rem;
    color: #9a3412;
    margin-top: 3px;
    font-weight: 500;
}

.bb-vistrat-direct-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(194, 65, 12, 0.4) !important;
}

@media (max-width: 768px) {
    .bb-drik-master-table, .bb-drik-master-table tbody, .bb-drik-master-table tr, .bb-drik-master-table th, .bb-drik-master-table td {
        display: block;
        width: 100% !important;
    }
    .bb-drik-master-table tr {
        margin-bottom: 8px;
        border-bottom: 1.5px solid #fed7aa;
    }
    .bb-drik-master-table .bb-lbl {
        border-right: none;
        background: #fff7ed;
        font-weight: 700;
    }
    .bb-drik-master-table .bb-val {
        border-right: none;
        padding-bottom: 12px;
    }
}


/* ==========================================================================
   Vedic Saffron Theme Date Picker & Search Styles
   ========================================================================== */

/* Universal Theme Date Picker */
.bb-theme-date-picker {
    padding: 7px 12px !important;
    border: 1.5px solid #ea580c !important;
    border-radius: 8px !important;
    background: #fffdfa !important;
    color: #9a3412 !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    accent-color: #ea580c !important;
    outline: none !important;
    box-shadow: 0 1px 4px rgba(234, 88, 12, 0.12) !important;
    transition: all 0.2s ease !important;
}

.bb-theme-date-picker:focus {
    border-color: #c2410c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.22) !important;
}

.bb-theme-date-picker::-webkit-calendar-picker-indicator {
    cursor: pointer !important;
    filter: invert(41%) sepia(85%) saturate(1900%) hue-rotate(360deg) brightness(92%) contrast(96%) !important;
    opacity: 0.95 !important;
}

.bb-theme-date-picker::-webkit-calendar-picker-indicator:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.bb-theme-date-picker::-webkit-datetime-edit {
    color: #9a3412 !important;
}

.bb-theme-date-picker::-webkit-datetime-edit-fields-wrapper {
    color: #9a3412 !important;
}

.bb-theme-date-picker::-webkit-datetime-edit-text {
    color: #ea580c !important;
}

.bb-theme-date-picker::-webkit-datetime-edit-month-field,
.bb-theme-date-picker::-webkit-datetime-edit-day-field,
.bb-theme-date-picker::-webkit-datetime-edit-year-field {
    color: #9a3412 !important;
}

.bb-theme-date-picker::-webkit-datetime-edit-month-field:focus,
.bb-theme-date-picker::-webkit-datetime-edit-day-field:focus,
.bb-theme-date-picker::-webkit-datetime-edit-year-field:focus {
    background-color: #ffedd5 !important;
    color: #c2410c !important;
}

/* Section Headings - Centered across all tables */
.bb-drik-section-heading th {
    text-align: center !important;
    letter-spacing: 0.5px !important;
}

/* City Search Box & Dropdown */
.bb-city-search-input {
    outline: none !important;
    transition: all 0.2s ease !important;
}

.bb-city-search-input:focus {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2) !important;
}

.bb-city-search-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #ea580c #fff7ed;
}

.bb-city-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.bb-city-search-dropdown::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 4px;
}

.bb-search-item:hover {
    background: #fff7ed !important;
}

/* =========================================================================
 * DRIK PANCHANG STYLE INTERACTIVE POPUP CARDS & UNIFIED CITY COMBOBOX
 * ========================================================================= */

.bb-interactive-val-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.bb-drik-sticker {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    border-radius: 6px;
    padding: 2px 7px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    line-height: 1.2;
}

.bb-drik-sticker:hover {
    background: #ffedd5;
    border-color: #ea580c;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
    transform: translateY(-1px);
}

.bb-info-i {
    font-size: 0.75rem;
    font-weight: 700;
    color: #c2410c;
    background: #ffedd5;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bb-drik-popup-card {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 999999;
    width: 300px;
    max-width: 90vw;
    background: #1e293b;
    border: 1.5px solid #b91c1c;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.25);
    text-align: left;
    overflow: hidden;
    animation: bbPopupFadeIn 0.18s ease-out;
}

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

.bb-drik-popup-header {
    background: #b91c1c;
    color: #ffffff;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.bb-drik-popup-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.bb-drik-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bb-drik-popup-body {
    padding: 10px 14px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: #f8fafc;
}

.bb-drik-popup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid #334155;
    gap: 8px;
}

.bb-drik-popup-row:last-child {
    border-bottom: none;
}

.bb-drik-popup-lbl {
    color: #94a3b8;
    font-weight: 600;
}

.bb-drik-popup-val {
    color: #ffffff;
    font-weight: 700;
    text-align: right;
}

.bb-drik-popup-desc {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #334155;
    font-size: 0.8rem;
    color: #fcd34d;
    line-height: 1.45;
}

/* UNIFIED SEARCHABLE CITY COMBOBOX */
.bb-unified-city-combobox-wrap {
    position: relative;
    display: inline-block;
    min-width: 240px;
}

.bb-unified-city-input {
    width: 100%;
    padding: 8px 30px 8px 12px;
    border: 1.5px solid #fdba74;
    border-radius: 8px;
    background: #fffdfa;
    color: #7c2d12;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: text;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.bb-unified-city-input:focus {
    outline: none;
    border-color: #ea580c;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}

.bb-combobox-toggle-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #c2410c;
    font-size: 0.85rem;
    font-weight: bold;
}

.bb-unified-city-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    min-width: 270px;
    max-height: 250px;
    overflow-y: auto;
    background: #ffffff;
    border: 1.5px solid #ea580c;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    z-index: 999999;
}

.bb-unified-city-item {
    padding: 9px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #ffedd5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
}

.bb-unified-city-item:last-child {
    border-bottom: none;
}

.bb-unified-city-item:hover,
.bb-unified-city-item.bb-item-active {
    background: #fff7ed;
}

.bb-item-city-name {
    font-weight: 700;
    color: #9a3412;
}

.bb-item-city-sub {
    font-size: 0.82rem;
    color: #78716c;
}
