@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

:root {
    --primary-color: #4e81fb;
    --text-muted: #888;
    --border-color: #dee2e6;
    --bg-light: #fbfcff;
    /* Updated to boss's background */
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    background-color: var(--bg-light);
    font-family: 'Figtree', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    margin: 0;
}

section[id] {
    scroll-margin-top: 80px;
}

/* .navbar {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0) 100%);
} */

.font-xl {
    font-size: 60px;
}

.font-lg {
    font-size: 38px;
}

.font-md {
    font-size: 30px;
}

.font-sm {
    font-size: 25px;
}

.font-xs {
    font-size: 16px;
}

.bold-2x {
    font-weight: 700;
}

.bold-1x {
    font-weight: 600;
}

.semi-bold {
    font-weight: 500;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 991px) {
    body {
        min-height: 100dvh;
    }

    .font-xl {
        font-size: 46px;
    }

    .font-lg {
        font-size: 32px;
    }

    .font-md {
        font-size: 28px;
    }

    .font-sm {
        font-size: 20px;
    }

    .font-xs {
        font-size: 12px;
    }

    .bold-sm-1x {
        font-weight: 600;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: inline !important;
    }

    /* .mobile-navbar {
        height: 56px;
    }

    #mobileMenu {
        top: 56px;
        height: calc(100vh - 56px);
    } */
}

input[type='date']::-webkit-calendar-picker-indicator {
    display: none;
    cursor: none;
}

.request-group-text {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background-color: #fbfcff;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.request-group-text.active {
    border-color: #4e81fb;
}

.login-card-wrapper {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
    padding: 3rem;
    width: 100%;
    max-width: 550px;
}

.login-header-logo {
    /* width: 60px; */
    height: 48px;
    background-color: #fff;
    margin: 0 auto 1.5rem;
    border-radius: 4px;
}

.login-header-logo img {
    /* width: 60px; */
    height: 48px;
}

.login-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    /* text-transform: capitalize; */
    margin-bottom: 0.2rem;
}

.login-system-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05rem;
    margin-bottom: 2rem;
}

.form-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05rem;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-check-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.forgot-password {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-signin {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fbfcff;
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(78, 129, 251, 0.3);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background-color: #3b6edb;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(78, 129, 251, 0.4);
    color: #fbfcff;
}

/* OTP Page Specific Styles */
.otp-input {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #333;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 129, 251, 0.1);
}

.resend-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
}

.resend-link {
    color: var(--primary-color);
    text-decoration: none;
}

.resend-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    body {
        padding: 1rem;
    }

    .login-card {
        padding: 2rem 1.5rem;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    .otp-input {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Dashboard Layout */
.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: white;
    color: #333;
    transition: all 0.3s;
    height: 100vh;
    position: fixed;
    z-index: 1000;
    border-right: 1px solid #eee;
}

#content {
    width: calc(100% - 250px);
    margin-left: 250px;
    padding: 38px;
    min-height: 100vh;
    background-color: #fbfcff;
    /* Restored light gray background */
}

.dropdown-item,
.dropdown-toggle {
    cursor: pointer;
}

/* Sidebar Elements */
.sidebar-header {
    /* padding: 40px 25px; */
    padding: 36px 15px;
}

.unit-dropdown {
    padding: 0px 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.unit-dropdown i {
    font-size: 0.8rem;
    color: #999;
    margin-left: auto;
}

.nav-menu {
    padding: 0 15px;
}

.nav-menu .nav-link {
    padding: 12px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #212225;
    border-radius: 6px;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    /* background-color: #eff4ff; */
    /* color: #4e81fb; */
    background-color: #eff3ff;
}

/* Main Dashboard Elements */
.header-section {
    margin-bottom: 30px;
}

.dashboard-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
}

.dashboard-subtitle {
    font-size: 0.65rem;
    color: #aaa;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.02rem;
}

.profile-section {
    /* padding: 30px; */
    padding: 15px 0;
    background: #fbfcff;
    /* border: 1px solid #eee; */
    /* border-radius: 8px; */
    display: flex;
    gap: 30px;
    position: relative;
    margin-top: 20px;
}

.profile-img-placeholder {
    /* width: 140px; */
    /* height: 140px; */
    width: 150px;
    height: 150px;
    /* background-color: #ddd; */
    background-color: #fbfcff;
    flex-shrink: 0;
}

.profile-img-placeholder img {
    width: 150px;
}

.profile-info {
    flex-grow: 1;
}

.profile-info h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.info-grid {
    display: grid;
    /* grid-template-columns: 140px 1fr; */
    row-gap: 5px;
    column-gap: 0;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    width: 12%;
}

.info-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.profile-badge {
    position: absolute;
    /* top: 30px; */
    top: 15px;
    /* right: 30px; */
    right: 0;
    /* font-size: 0.6rem; */
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #333;
    padding: 5px 12px;
    border-radius: 4px;
    color: #333;
}

.payment-sum {
    position: absolute;
    /* bottom: 30px; */
    bottom: 15px;
    /* right: 30px; */
    right: 0;
    text-align: right;
}

.sum-label {
    /* font-size: 0.65rem; */
    font-size: 0.75rem;
    /* font-weight: 700; */
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sum-value {
    font-size: 1.25rem;
    /* font-weight: 800; */
    font-weight: 600;
    color: #333;
}

/* Payment Section */
.row.payment-row {
    margin-top: 40px;
}

.payment-card {
    /* background: #fbfcff; */
    background: white;
    /* border: 1px solid #eee; */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: none;
    padding: 0;
    /* margin-bottom: 25px; */
    margin-bottom: 10px;
}

.card-header-title {
    font-size: 1rem;
    /* font-weight: 700; */
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.card-header-subtitle {
    font-size: 0.65rem;
    color: #aaa;
    margin-bottom: 0;
    font-weight: 600;
}

.payment-list {
    display: flex;
    flex-direction: column;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;

    background: #fbfcff;
    border-radius: 10px;
    /* margin-bottom: 15px; */
    margin-top: 15px;
}

/* .payment-item:first-child {
    padding-top: 0;
} */

.item-desc h5 {
    font-size: 0.85rem;
    /* font-weight: 700; */
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.item-desc p {
    font-size: 0.6rem;
    /* font-weight: 700; */
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 0;
}

.item-amount {
    /* display: flex; */
    align-items: center;
    /* gap: 20px; */
}

.amount-value {
    font-size: 0.85rem;
    /* font-weight: 700; */
    font-weight: 600;
    color: #333;
}

.btn-download {
    font-size: 0.55rem;
    /* font-weight: 800; */
    font-weight: 600;
    color: #888;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-badge {
    /* font-size: 0.55rem;
    font-weight: 800;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    min-width: 120px;
    text-align: center; */

    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    min-width: 150px;
    text-align: center;
}

.status-awaiting {
    /* background-color: #fbfcff; */
    /* color: #ff9800; */
    background-color: #ffedd4;
    color: #f54900;
}

.status-paid, .status-active {
    /* background-color: #e8f5e9; */
    /* color: #4caf50; */
    background-color: #d0fae5;
    color: #006045;
}

.status-banned {
    background-color: #f64e60;
    color: #ffffff;
}

.status-next {
    background-color: #eaeaea;
    color: #868686;
}

/* Swiper / Tabs for Mobile */
.mobile-tabs {
    display: none;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .wrapper {
        padding-top: 85px;
    }

    #sidebar {
        margin-left: -250px;
    }

    .sidebar-header {
        padding: 0px 25px;
    }

    .mobile-navbar {
        height: 85px;
        position: relative;
        /* z-index: 1001; */
        z-index: 10000;
        background-color: #fbfcff;
    }

    /* overlay */
    #menuOverlay{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.25s;
        z-index: 1000;
    }

    /* show overlay */
    #menuOverlay.show{
        opacity: 1;
        visibility: visible;
    }

    /* menu panel */
    #mobileMenuPanel{
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: #fbfcff;
        padding: 24px;
        padding-top: 0;
        padding-bottom: 12px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: 0.25s;
        z-index: 1;
    }

    /* open menu */
    #mobileMenuPanel.open{
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-toggler {
        border: none;
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    #content {
        width: 100%;
        margin-left: 0;
        padding: 25px;
        background-color: #fbfcff;
    }

    .header-section .dashboard-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .header-section .dashboard-subtitle {
        font-size: 0.65rem;
        font-weight: 700;
        line-height: 1.4;
    }

    .profile-section {
        display: block;
        padding: 0;
        background: transparent;
        border: none;
        margin-top: 30px;
    }

    .profile-header-mobile {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-bottom: 25px;
    }

    .profile-img-placeholder {
        /* width: 130px; */
        /* height: 130px; */
        /* min-width: 130px; */
        width: 150px;
        height: 150px;
        min-width: 150px;
    }

    .profile-img-placeholder img {
        /* width: 130px; */
        width: 150px;
    }

    .profile-info h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .profile-badge {
        position: static;
        display: inline-block;
        font-size: 0.65rem;
        padding: 6px 15px;
        border: 1px solid #333;
        border-radius: 4px;
        /* font-weight: 700; */
        font-weight: 600;
        letter-spacing: 0.05rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    .info-label {
        font-size: 0.7rem;
        margin-bottom: 4px;
        width: 100%
    }

    .info-value {
        /* font-size: 0.8rem; */
        font-size: 0.7rem;
    }

    .payment-sum {
        position: static;
        /* margin-top: 35px; */
        margin-top: 30px;
        padding: 15px 0;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

    .sum-label {
        font-size: 0.7rem;
        /* margin-bottom: 8px; */
        margin-bottom: 4px;
        display: block;
    }

    .sum-value {
        /* font-size: 1.5rem; */
        font-size: 1.25rem;
        /* font-weight: 800; */
        font-weight: 600;
        display: block;
    }

    /* Mobile Tabs */
    .mobile-tabs {
        display: flex;
        justify-content: center;
        gap: 40px;
        /* margin: 45px 0 30px; */
        margin: 30px 0;
    }

    .tab-item {
        padding-bottom: 8px;
        font-size: 0.85rem;
        /* font-weight: 700; */
        font-weight: 600;
        color: #ddd;
        text-transform: uppercase;
        text-decoration: none;
        position: relative;
    }

    .tab-item.active {
        color: var(--primary-color);
    }

    .tab-item.active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
    }

    .tab-desc-text {
        text-align: center;
        font-size: 0.7rem;
        color: #bbb;
        margin-bottom: 25px;
        /* font-weight: 700; */
        font-weight: 600;
    }

    /* Mobile Payment Items */
    .payment-card {
        padding: 0;
        background: transparent;
        border: none;
    }

    .payment-item {
        background: #fbfcff;
        border: 1px solid #ddd;
        /* border-radius: 12px; */
        border-radius: 10px;
        padding: 15px;
        margin-top: 0;
        margin-bottom: 15px;
        display: block;
    }

    /* .payment-item:first-child {
        padding-top: 15px;
    } */

    .item-header-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 12px;
    }

    .item-title-group {
        display: flex;
        gap: 8px;
        align-items: baseline;
    }

    .item-title-group h5 {
        font-size: 0.8rem;
        /* font-weight: 800; */
        font-weight: 600;
        margin-bottom: 0;
    }

    .item-date {
        font-size: 0.6rem;
        font-weight: 700;
        color: #bbb;
        text-transform: uppercase;
    }

    .item-amount-val {
        font-size: 0.8rem;
        /* font-weight: 800; */
        font-weight: 600;
        color: #333;
    }

    /* Tab content switching */
    .tab-content {
        display: none;
    }

    .tab-content.active {
        display: block;
    }

    .mobile-nav-toggle {
        font-size: 1.8rem;
        margin-bottom: 15px;
        display: block;
    }

    #sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        transition: all 0.3s;
    }

    #sidebar-overlay.active {
        display: block;
    }
}

/* Requests Page Styles */
.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #212225;
}

.faq-card {
    background: #fbfcff !important;
    border: 1px solid #eee !important;
    border-radius: 6px !important;
    overflow: hidden;
}

.accordion-button {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    padding: 20px 25px;
    background: #fbfcff;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: #fbfcff;
    color: #333;
    border-bottom: 1px solid #f8f8f8;
}

.accordion-button::after {
    background-size: 0.8rem;
    background-position: center;
}

.accordion-body {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.8;
    padding: 20px 25px;
}

.request-form-card {
    background: transparent;
}

.form-label-request {
    font-size: 0.65rem;
    font-weight: 700;
    color: #aaa;
    margin-bottom: 8px;
    display: block;
}

.request-input,
.request-textarea,
.request-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    /* padding: 12px 15px; */
    padding: 7px 10px;
    /* font-size: 0.85rem; */
    font-size: 0.75rem;
    color: #333;
    /* background: #fbfcff; */
    background-color: #fbfcff;
}

.request-input:focus,
.request-textarea:focus,
.request-select:focus {
    box-shadow: none;
    border-color: #4e81fb;
}

.request-input::placeholder {
    color: #333;
    font-weight: 500;
}

.btn-request-send {
    background-color: #4e81fb;
    color: #fbfcff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 10px 30px;
    border-radius: 4px;
    letter-spacing: 0.05rem;
    transition: all 0.3s;
}

.btn-request-send:hover {
    background-color: #3a6cd9;
    color: #fbfcff;
}

.btn-discard {
    background-color: #fbfcff;
    color: #888;
    border: 1px solid #ddd;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 10px 30px;
    border-radius: 4px;
    letter-spacing: 0.05rem;
    transition: all 0.3s;
}

.btn-discard:hover {
    background-color: #f8f9fa;
    color: #333;
    border-color: #ccc;
}

/* Mobile responsive for Requests */
@media (max-width: 991px) {
    .section-title {
        font-size: 1.1rem;
    }

    .accordion-button {
        font-size: 0.9rem;
    }

    .request-input,
    .request-textarea {
        font-size: 0.95rem;
    }
}

/* Billing & Payments Styles */
.summary-card {
    background: #fbfcff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
}

.progress-container {
    background-color: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
    height: 32px;
}

.progress-bar-custom {
    background-color: #4e81fb;
    color: #fbfcff;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
}

.mastercard-logo {
    display: flex;
    position: relative;
    width: 35px;
    height: 22px;
}

.circle-red {
    width: 20px;
    height: 20px;
    background: #eb001b;
    border-radius: 50%;
    position: absolute;
    left: 0;
}

.circle-orange {
    width: 20px;
    height: 20px;
    background: #ff5f00;
    border-radius: 50%;
    position: absolute;
    right: 0;
    opacity: 0.8;
}

.btn-change-payment {
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: #4e81fb;
    color: #fbfcff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 6px 15px;
    border-radius: 4px;
    border: none;
    letter-spacing: 0.05rem;
}

/** Tables */
.list-table {
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 0 12px;
    width: 100%;
}

.list-table thead th {
    font-size: 0.6rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    border: none;
    padding: 0 15px 5px;
    vertical-align: middle;
    background: transparent !important;
}

.list-table thead th i {
    font-size: 0.5rem;
    margin-left: 4px;
}

.list-table tbody tr {
    background: #fbfcff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.list-table tbody td {
    border: 1px solid #eee;
    border-style: solid none;
    padding: 12px 15px;
    /* Reduced vertical padding */
    vertical-align: middle;
}

.list-table tbody td:first-child {
    border-left-style: solid;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.list-table tbody td:last-child {
    border-right-style: solid;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.billing-table {
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 0 12px;
    width: 100%;
}

.billing-table thead th {
    font-size: 0.6rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    border: none;
    padding: 0 15px 5px;
    vertical-align: middle;
    background: transparent !important;
}

.billing-table thead th i {
    font-size: 0.5rem;
    margin-left: 4px;
}

.billing-table tbody tr {
    background: #fbfcff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.billing-table tbody td {
    border: 1px solid #eee;
    border-style: solid none;
    padding: 12px 15px;
    /* Reduced vertical padding */
    vertical-align: middle;
}

.billing-table th:nth-child(1),
.billing-table td:nth-child(1) {
    width: 15%;
}

/* Payment */
.billing-table th:nth-child(2),
.billing-table td:nth-child(2) {
    width: 13%;
}

/* Amount */
.billing-table th:nth-child(3),
.billing-table td:nth-child(3) {
    width: 17%;
}

/* Billing Number */
.billing-table th:nth-child(4),
.billing-table td:nth-child(4) {
    width: 15%;
}

/* Billing Date */
.billing-table th:nth-child(5),
.billing-table td:nth-child(5) {
    width: 15%;
}

/* Status */
.billing-table th:nth-child(6),
.billing-table td:nth-child(6) {
    width: 8%;
}

/* Action */
.billing-table th:nth-child(7),
.billing-table td:nth-child(7) {
    width: 17%;
    text-align: right;
}

/* Invoice */
.billing-table tbody td:first-child {
    border-left-style: solid;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.billing-table tbody td:last-child {
    border-right-style: solid;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.table-val {
    font-size: 0.95rem;
    /* Larger as per screenshot */
    /* font-weight: 700; */
    font-weight: 500;
    color: #333;
}

.table-date {
    font-size: 0.6rem;
    /* font-weight: 700; */
    font-weight: 500;
    color: #bbb;
    text-transform: uppercase;
}

.btn-pay-now {
    background-color: #4e81fb;
    color: #fbfcff;
    font-size: 0.75rem;
    font-weight: 600;
    /* padding: 8px 0; */
    padding: 6px 15px;
    border-radius: 4px;
    border: none;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.status-failed {
    background-color: #ffebee;
    color: #f44336;
}

/* Pagination Styles */
.pagination-info {
    font-size: 0.65rem;
    color: #aaa;
    text-transform: uppercase;
    font-weight: 600;
}

.page-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #aaa;
    text-decoration: none;
    transition: all 0.2s;
}

.page-num.active {
    background-color: #333;
    color: #fbfcff;
}

.page-num:not(.active):hover {
    background-color: #eee;
    color: #333;
}

.btn-download-invoice {
    /* display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fbfcff;
    color: #bbb;
    border: 1px solid #eee;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
    letter-spacing: 0.05rem;
    white-space: nowrap; */

    background-color: transparent;
    color: #868686;
    border-color: #ddd;
    font-size: 0.75rem;
    padding: 5px 15px;
    border-radius: 4px;
    letter-spacing: 0.05rem;
    transition: all 0.3s;
    box-shadow: none;
}

/* .btn-download-invoice i {
    font-size: 0.7rem;
} */

.btn-download-invoice:hover {
    /* border-color: #ddd;
    color: #333;
    background-color: #f8f9fa; */

    background-color: #212225 !important;
    border-color: #212225 !important;
    color: #fbfcff !important;
}

@media (max-width: 991px) {
    .billing-table tbody td {
        white-space: nowrap;
    }
}

/* My Unit Styles */
.sticky-preview-m-none,
.sticky-preview {
    position: sticky;
    top: 5%;
}

.main-unit-image, .main-img-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 856 / 542;
    width: 100%;
    background-color: grey;
}

.main-unit-image img, .main-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.main-unit-image img.active {
    opacity: 1;
}

.img-placeholder-sm {
    width: 100%;
    aspect-ratio: 1;
    background-color: #eee;
    background-image: url('../img/office_interior.png');
    /* Mocking asset */
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    cursor: pointer;
}

.img-placeholder-lg {
    width: 100%;
    aspect-ratio: 16/10;
    background-color: #ddd;
    background-image: url('../img/office_interior.png');
    /* Main asset */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.img-thumbnail {
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.thumb-item {
    width: 100%;
    height: auto;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid transparent;
    padding: 3px;
    transition: 0.2s;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: #212225;
    border-radius: 5px;
}

.thumb-item.active .img-placeholder-sm {
    border: 2px solid var(--primary-color);
}

/* .swatch-item {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    border: 2px solid transparent;
} */

/* .swatch-item.active {
    border-color: #bfa36a;
} */

/* Selected Adds On Section */
.selected-adds-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212225;
    letter-spacing: 2px;
    margin-bottom: 24px;
    padding-top: 50px;
}

/* .selected-adds-table {
    border-top: 1px solid #e0e0e0;
} */

.adds-category {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.category-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.1rem;
    margin-bottom: 16px;
}

.adds-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.adds-item:last-child {
    margin-bottom: 0;
}

.item-swatch {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    flex-shrink: 0;
}

.item-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    width: 80px;
}

.item-area {
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    width: 60px;
    text-align: center;
}

.item-unit-price {
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    width: 100px;
    text-align: center;
}

.item-total {
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
    flex: 1;
    text-align: right;
}

#add-on-list th,
#add-on-list td {
    padding-left: 0;
    padding-right: 0;
    background-color: #fbfcff;
}

#m-add-on-list th,
#m-add-on-list td {
    padding-left: 0;
    padding-right: 0;
    padding-top: .2rem;
    padding-bottom: .2rem;
    background-color: #fbfcff;
}

#add-on-list th {
    color: #888;
    font-size: 0.7rem;
}

#add-on-list td {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

/* Summary Card */
.summary-card-unit {
    background: #fbfcff;
    border: 1px solid #212225;
    border-radius: 10px;
    padding: 20px;
}

.summary-header {
    margin-bottom: 20px;
}

.summary-unit {
    font-size: 25px;
    font-weight: 500;
    color: #212225;
    /* margin-bottom: 4px; */
}

.summary-area {
    font-size: 1rem;
    /* font-weight: 300; */
    color: #212225;
}

.summary-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    /* border-top: 1px solid #e0e0e0; */
    border-bottom: 1px solid #212225;
    margin-bottom: 20px;
}

.price-label {
    font-size: 1rem;
    /* font-weight: 500; */
    color: #212225;
    /* letter-spacing: 0.05rem; */
}

.price-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212225;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

/* .btn-summary {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    border: 1px solid #ddd;
    background: #fbfcff;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
} */

.btn-summary {
    background-color: transparent;
    color: #444444;
    border: 1px solid #444444;
    border-radius: 50px;
    padding: 0.6rem;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* .btn-summary:hover {
    background: #fbfcff;
} */

.btn-summary:hover {
    background-color: #212225;
    color: #fbfcff;
    border-color: #212225;
    font-weight: 700;
}

.btn-summary.btn-primary {
    background: #212225;
    color: #fbfcff;
    border-color: #212225;
}

.btn-summary.btn-primary:hover {
    /* background: #1a1a1a; */
    font-weight: 700;
}

.btn-summary:disabled {
    background-color: #fbfcff;
    color: #ababab;
    border-color: #ababab;
    font-weight: 300;
}

.btn-summary.btn-primary:disabled {
    background-color: #ababab;
    color: #fbfcff;
    border-color: #ababab;
    font-weight: 300;
}

.terms-link {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: #212225;
    text-decoration: underline;
}

.floor-plan-card {
    margin-bottom: 12px;
}

.floor-plan-img {
    width: auto;
    /* border: 1px solid #eee; */
    /* border-radius: 8px; */
    /* object-fit: contain; */
    /* background-color: #fbfcff; */
}





/* Interior Choices - New Layout (Separated Header & Body) */
.interior-choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Interior Header */
.interior-header {
    padding: 16px 20px;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.interior-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%); */
    border-radius: 12px;
}

.interior-header .header-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.interior-header .header-brand {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: normal;
    /* letter-spacing: 0.1rem; */
    color: #ffc548;
    text-transform: uppercase;
}

.interior-header .header-subtitle {
    font-size: 0.7rem;
    color: #fbfcff;
    line-height: normal;
    margin-top: 3px;
    font-weight: 500;
}

.interior-header .toggle-icon {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    font-weight: 400;
    color: #fbfcff;
    transform: rotate(180deg);
}

/* Header Variants */
.interior-header.signature {
    background-image: url('../../assets/images/signature.png');
    background-size: cover;
    background-position: center;
}

.interior-header.prestige {
    background-image: url('../../assets/images/prestige.png');
    background-size: cover;
    background-position: center;
}

.interior-header.essentials {
    background-image: url('../../assets/images/essentials.png');
    background-size: cover;
    background-position: center;
}

/* .interior-header.prestige::before {
    background: linear-gradient(to right, rgba(191, 163, 106, 0.95) 0%, rgba(191, 163, 106, 0.8) 100%);
}

.interior-header.essentials::before {
    background: linear-gradient(to right, rgba(108, 117, 125, 0.95) 0%, rgba(108, 117, 125, 0.8) 100%);
} */

.interior-header.prestige .header-brand,
.interior-header.essentials .header-brand {
    color: #fbfcff;
}

.interior-header.prestige .header-subtitle {
    color: #ffe89c;
}

.interior-header.essentials .header-subtitle {
    color: #bababa;
}

/* Interior Body */
.interior-body {
    border-radius: 12px;
    color: #fbfcff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.interior-body.active {
    max-height: 2000px;
}

.interior-body.signature {
    background-color: #212225;
}

.interior-body.prestige {
    background-color: #967b2a;
}

.interior-body.essentials {
    background-color: #706f75;
}

.interior-body .interior-title {
    font-size: 1rem;
    font-weight: 500;
    /* letter-spacing: 0.05rem; */
    margin-bottom: 25px;
}

.interior-body.signature .interior-title {
    color: #fbfcff;
}

.interior-body.prestige .interior-title,
.interior-body.essentials .interior-title {
    color: #fbfcff;
}

.interior-body .interior-brand-row {
    margin-bottom: 25px;
    /* padding-bottom: 16px; */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
}

.interior-body .brand-icon {
    font-size: 1rem;
}

.interior-body.signature .brand-icon {
    color: #d4a853;
}

.interior-body.prestige .brand-icon,
.interior-body.essentials .brand-icon {
    color: #fbfcff;
}

.interior-body .brand-name {
    font-size: 0.92rem;
    font-weight: 500;
    /* letter-spacing: 0.05rem; */
}

.interior-body.signature .brand-name {
    color: #d4a853;
}

.interior-body.prestige .brand-name,
.interior-body.essentials .brand-name {
    color: #fbfcff;
}

.interior-body .price-val {
    font-size: 0.92rem;
    font-weight: 500;
    color: #fbfcff;
}

.interior-body .options-group {
    margin-bottom: 20px;
}

.interior-body .options-group:last-child {
    margin-bottom: 0;
}

.interior-body .option-label {
    font-size: 0.8rem;
    font-weight: 500;
    /* letter-spacing: 0.08rem; */
    color: #fbfcff;
    /* margin-bottom: 10px; */
    display: block;
}

/* .interior-body.signature .option-label {
    color: rgba(255, 255, 255, 0.7);
}

.interior-body.prestige .option-label,
.interior-body.essentials .option-label {
    color: rgba(255, 255, 255, 0.9);
} */

.interior-body .swatch-list {
    gap: 5px !important;
}

/* .interior-body .swatch-item {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
} */

/* .interior-body .swatch-item:hover {
    transform: scale(1.05);
} */

/* .interior-body .swatch-item.active {
    border-color: #d4a853;
    box-shadow: 0 0 0 2px rgba(212, 168, 83, 0.3);
} */

/* Interior Features Carousel */
.custom-indicators {
    position: static;
    margin-top: 15px;
    margin-bottom: 0;
}

.custom-indicators [data-bs-target] {
    width: 25px !important;
    height: 5px !important;
    border-radius: 4px !important;
    background-color: #aaa !important;
    border: none !important;
    opacity: 0.5;
    margin: 0 4px !important;
}

.custom-indicators .active {
    background-color: #333 !important;
    width: 35px !important;
    opacity: 1;
}

/* Mobile Gallery Carousel - My Unit Page */
.unitImageSwiper {
    width: 100%;
    height: auto;
    padding-bottom: 35px;
}

.unitImageSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fbfcff;
}

.carousel-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* border-radius: 8px; */
}

.swiper-container {
    max-width: 200%;
    background-color: #fbfcff;
    margin-left: -24px;
    margin-right: -24px;
}

.unitImageSwiper .swiper-pagination-bullet {
    /* background-color: #4e81fb;
    opacity: 0.4; */

    height: 8px;
    width: 8px;
    opacity: 0.5;
    background: #212225;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.unitImageSwiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    /* background-color: #4e81fb; */
    opacity: 1;
    width: 30px;
}

.unitImageSwiper .swiper-button-next,
.unitImageSwiper .swiper-button-prev {
    color: #4e81fb;
    top: 50%;
    transform: translateY(-50%);
}

.unitImageSwiper .swiper-button-next:after,
.unitImageSwiper .swiper-button-prev:after {
    font-size: 24px;
}

/* Interior Image Carousel - Bottom Section */
.interiorImageSwiper {
    width: 100%;
    height: auto;
    /* border-radius: 8px; */
    /* overflow: hidden; */
    padding-bottom: 35px;
}

.interiorImageSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fbfcff;
    /* border-radius: 8px; */
}

.interiorImageSwiper .swiper-pagination-bullet {
    /* background-color: #4e81fb;
    opacity: 0.4; */

    height: 8px;
    width: 8px;
    opacity: 0.5;
    background: #212225;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.interiorImageSwiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    /* background-color: #4e81fb; */
    opacity: 1;
    width: 30px;
}

.interiorImageSwiper .swiper-button-next,
.interiorImageSwiper .swiper-button-prev {
    color: #4e81fb;
    top: 50%;
    transform: translateY(-50%);
}

.interiorImageSwiper .swiper-button-next:after,
.interiorImageSwiper .swiper-button-prev:after {
    font-size: 24px;
}

/* Desktop Interior Gallery - Bottom Section */
/* .interior-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
} */

.interior-thumb-item {
    width: 100%;
    height: auto;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid transparent;
    padding: 3px;
    transition: 0.2s;
}

/* .interior-thumb-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 4px;
} */

/* .interior-thumb-item.active {
    border-color: var(--primary-color);
} */

/* .main-interior-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fbfcff;
} */

.interior-thumb-item:hover,
.interior-thumb-item.active {
    border-color: #212225;
    border-radius: 5px;
}


/* ACCOUNT SETTINGS SECTION */
.btn-change-avatar {
    background-color: #4e81fb;
    color: #fbfcff;
    /* border-color: #fbfcff; */
    font-size: 0.75rem;
    padding: 5px 15px;
    border-radius: 4px;
    letter-spacing: 0.05rem;
    transition: all 0.3s;
    box-shadow: none;
}

.btn-change-avatar:hover {
    background-color: #3a6cd9;
    color: #fbfcff;
}

.btn-save-changes {
    background-color: #4e81fb;
    color: #fbfcff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.btn-save-changes:hover {
    background-color: #3a6cd9;
    color: #fbfcff;
}

#img-modal-overlay {
    position: absolute;
    transform: translateX(-50%);
}

.btn-modal-contact {
    background-color: transparent;
    color: #212225;
    border: 1px solid #212225;
    border-radius: 50px;
    padding: 0.6rem;
    min-width: 100px;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 80%;
}

.btn-modal-contact:hover {
    background-color: #212225;
    color: #fbfcff;
    border-color: #212225;
    font-weight: 700;
}

.btn-modal-contact:hover:active {
    background-color: #212225;
    color: #fbfcff;
    border-color: #212225;
    font-weight: 700;
}


/* CONTACT US SECTION */
.px-sm {
    padding-left: 25px !important;
    padding-right: 25px !important;
}

#contact {
    position: relative;
    width: 100%;
    background-color: #212225;
    padding: 80px 0;
    color: #fbfcff;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 1001;
}

.footer-head {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-head::after {
    content: "";
    height: 1px;
    width: 3000px;
    background: #fbfcff;
    margin-bottom: 7px;
}

.btn-footer-map {
    background-color: transparent;
    color: #fbfcff;
    border: 1px solid #fbfcff;
    border-radius: 50px;
    padding: 0.6rem;
    min-width: 200px;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-footer-map:hover {
    background-color: #fbfcff;
    color: #444444;
    border-color: #fbfcff;
    font-weight: 700;
}

.btn-footer-map:hover:active {
    background-color: #444444;
    color: #fbfcff;
    border-color: #444444;
    font-weight: 700;
}

.btn-footer-contact {
    background-color: transparent;
    color: #fbfcff;
    border: 1px solid #fbfcff;
    border-radius: 50px;
    padding: 0.6rem;
    min-width: 100px;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-footer-contact:hover {
    background-color: #fbfcff;
    color: #444444;
    border-color: #fbfcff;
    font-weight: 700;
}

.btn-footer-contact:hover:active {
    background-color: #444444;
    color: #fbfcff;
    border-color: #444444;
    font-weight: 700;
}

#copyright {
    position: relative;
    width: 100%;
    background-color: white;
    color: #444444;
    font-size: 16px;
    font-weight: 300;
    z-index: 1002;
}

@media (max-width: 991px) {
    .sticky-preview {
        top: 0%;
        z-index: 9999;
    }

    .sticky-preview-m-none {
        position: initial;
    }

    .sticky-bottom {
        position: fixed;
        display: flex;
        align-items: center;
        bottom: -150px;
        left: 0;
        width: 100%;
        background: #fbfcff;
        color: #212225;
        text-align: center;
        padding: 15px;
        transition: bottom 0.3s ease;
    }

    .sticky-bottom.show {
        bottom: 0;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    }

    .btn-footer-map,
    .btn-footer-contact {
        min-width: 100%;
        font-size: 18px;
    }

    .btn-invoice {
        background-color: #fbfcff;
        color: #212225;
        border: 1px solid #212225;
        border-radius: 50px;
        padding: 0.6rem;
        min-width: 90%;
        font-weight: 300;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }

    .btn-invoice:hover {
        background-color: #fbfcff;
        color: #444444;
        border: 1px solid #212225 !important;
        border-color: #fbfcff;
        font-weight: 700;
    }

    .btn-purchase {
        background-color: #212225;
        color: #fbfcff;
        border: 1px solid #212225;
        border-radius: 50px;
        padding: 0.6rem;
        min-width: 90%;
        font-weight: 300;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }

    .btn-purchase:hover {
        background-color: #212225;
        color: #fbfcff;
        border: 1px solid #212225 !important;
        border-color: #fbfcff;
        font-weight: 700;
    }
}