/* =========================================================
   LITEQR - GLOBAL UI
   Bootstrap 5 + Bootstrap Icons
   ========================================================= */
:root {
    --lq-primary: #0d6efd;
    --lq-primary-dark: #0b5ed7;
    --lq-text: #1f2937;
    --lq-text-secondary: #6b7280;
    --lq-border: #e5e7eb;
    --lq-bg: #f8fafc;
    --lq-card: #ffffff;
    --lq-radius: 0.9rem;
    --lq-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}


/* =========================================================
   BODY
   ========================================================= */

body {
    color: var(--lq-text);
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

a {
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}


/* =========================================================
   MAIN
   ========================================================= */

.lq-main {
    min-height: 65vh;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.lq-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--lq-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1030;
}

    .lq-navbar .navbar-brand {
        color: #111827 !important;
        font-weight: 700;
    }

        .lq-navbar .navbar-brand i {
            color: var(--lq-primary);
        }

        .lq-navbar .navbar-brand:hover {
            color: var(--lq-primary) !important;
        }

    .lq-navbar .navbar-nav .nav-link {
        color: #374151 !important;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.65rem 0.85rem !important;
        margin: 0 0.1rem;
        border-radius: 0.6rem;
    }

        .lq-navbar .navbar-nav .nav-link:hover,
        .lq-navbar .navbar-nav .nav-link:focus {
            color: var(--lq-primary) !important;
            background: #f1f5ff;
        }

        .lq-navbar .navbar-nav .nav-link.active {
            color: var(--lq-primary) !important;
            background: #eef4ff;
            font-weight: 600;
        }


    /* Dropdown */

    .lq-navbar .dropdown-menu {
        margin-top: 0.5rem;
        padding: 0.45rem;
        border: 1px solid var(--lq-border) !important;
        border-radius: 0.8rem;
        background: #ffffff;
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.1) !important;
    }

    .lq-navbar .dropdown-item {
        color: #374151 !important;
        font-size: 0.92rem;
        font-weight: 500;
        padding: 0.65rem 0.75rem;
        border-radius: 0.5rem;
    }

        .lq-navbar .dropdown-item:hover {
            color: var(--lq-primary) !important;
            background: #f1f5ff;
        }


/* CTA navbar */

.lq-nav-cta {
    color: #ffffff !important;
    background: var(--lq-primary);
    border: 1px solid var(--lq-primary);
    border-radius: 0.65rem;
    font-weight: 600;
}

    .lq-nav-cta:hover {
        color: #ffffff !important;
        background: var(--lq-primary-dark);
        border-color: var(--lq-primary-dark);
        transform: translateY(-1px);
    }


/* Mobile */

.lq-navbar .navbar-toggler {
    border: 1px solid #dee2e6 !important;
    background: #ffffff;
    box-shadow: none !important;
}

.lq-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(55,65,81,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* =========================================================
   PAGE HEADER
   Dùng chung cho Store / Blog / Contact / Account
   ========================================================= */

.lq-page-header {
    padding: 3rem 0 2rem;
}

    .lq-page-header h1 {
        color: #111827;
        font-weight: 700;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
    }

    .lq-page-header p {
        color: var(--lq-text-secondary);
        max-width: 680px;
    }


/* =========================================================
   SECTION
   ========================================================= */

.lq-section {
    padding: 3rem 0;
}

.lq-section-title {
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lq-section-subtitle {
    color: var(--lq-text-secondary);
}


/* =========================================================
   CARD CHUNG
   ========================================================= */

.lq-card {
    background: var(--lq-card);
    border: 1px solid var(--lq-border);
    border-radius: var(--lq-radius);
    box-shadow: var(--lq-shadow);
}

.lq-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .lq-card-hover:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 38px rgba(15, 23, 42, 0.1);
        border-color: #d8e4f8;
    }


/* =========================================================
   STORE
   ========================================================= */

.lq-store {
    padding-bottom: 4rem;
}


/* Product card */

.lq-product-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--lq-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .lq-product-card:hover {
        transform: translateY(-4px);
        border-color: #cbdaf5;
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.09);
    }

.lq-product-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    color: var(--lq-primary);
    background: #eef4ff;
    font-size: 1.5rem;
}

.lq-product-card h2,
.lq-product-card h3 {
    color: #111827;
    font-weight: 650;
}

.lq-product-price {
    color: var(--lq-primary);
    font-size: 1.3rem;
    font-weight: 700;
}


/* Store filter */

.lq-store-filter {
    background: #f8fafc;
    border: 1px solid var(--lq-border);
    border-radius: 0.8rem;
    padding: 0.35rem;
}

    .lq-store-filter .btn {
        border-radius: 0.6rem;
        font-weight: 500;
    }

        .lq-store-filter .btn.active,
        .lq-store-filter .btn-primary {
            font-weight: 600;
        }


/* =========================================================
   CART
   ========================================================= */

.lq-cart-item {
    background: #ffffff;
    border: 1px solid var(--lq-border);
    border-radius: 0.9rem;
    padding: 1rem;
}

.lq-cart-summary {
    background: #f8fafc;
    border: 1px solid var(--lq-border);
    border-radius: 1rem;
}

.lq-total {
    color: var(--lq-primary);
    font-size: 1.35rem;
    font-weight: 700;
}


/* =========================================================
   BLOG
   ========================================================= */

.lq-blog {
    padding-bottom: 4rem;
}


/* Blog card */

.lq-blog-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--lq-border);
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .lq-blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.09);
    }

    .lq-blog-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

.lq-blog-card-body {
    padding: 1.25rem;
}

.lq-blog-card h2,
.lq-blog-card h3 {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.4;
}

    .lq-blog-card h2 a,
    .lq-blog-card h3 a {
        color: inherit;
        text-decoration: none;
    }

        .lq-blog-card h2 a:hover,
        .lq-blog-card h3 a:hover {
            color: var(--lq-primary);
        }

.lq-blog-meta {
    color: #9ca3af;
    font-size: 0.82rem;
}

.lq-blog-excerpt {
    color: var(--lq-text-secondary);
    font-size: 0.92rem;
}


/* Blog category */

.lq-blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .lq-blog-categories a {
        display: inline-flex;
        align-items: center;
        padding: 0.45rem 0.8rem;
        color: #4b5563;
        background: #f8fafc;
        border: 1px solid var(--lq-border);
        border-radius: 2rem;
        font-size: 0.88rem;
        text-decoration: none;
    }

        .lq-blog-categories a:hover,
        .lq-blog-categories a.active {
            color: var(--lq-primary);
            background: #eef4ff;
            border-color: #cfe0ff;
        }


/* Blog article */

.lq-article {
    max-width: 820px;
    margin: 0 auto;
}

    .lq-article h1 {
        color: #111827;
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 750;
        line-height: 1.2;
        letter-spacing: -0.025em;
    }

    .lq-article h2 {
        margin-top: 2.5rem;
        margin-bottom: 1rem;
        color: #111827;
        font-size: 1.6rem;
        font-weight: 700;
    }

    .lq-article h3 {
        margin-top: 2rem;
        color: #111827;
        font-weight: 650;
    }

    .lq-article p,
    .lq-article li {
        color: #374151;
        font-size: 1.02rem;
        line-height: 1.8;
    }

    .lq-article img {
        max-width: 100%;
        height: auto;
        border-radius: 0.9rem;
    }

    .lq-article blockquote {
        margin: 2rem 0;
        padding: 1rem 1.25rem;
        border-left: 4px solid var(--lq-primary);
        background: #f8fafc;
        border-radius: 0 0.6rem 0.6rem 0;
    }
/* Featured blog */
.lq-blog-featured-image {
    width: 100%;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    background: #f1f5f9;
}

    .lq-blog-featured-image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 360px;
        object-fit: cover;
        object-position: center;
    }

/* Placeholder */
.lq-blog-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 3rem;
}

/* Featured content */
.lq-blog-featured-content {
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    /* Featured title */
    .lq-blog-featured-content h2 {
        line-height: 1.2;
    }

        .lq-blog-featured-content h2 a {
            color: #0f172a;
            text-decoration: none;
            transition: color .2s ease;
        }

            .lq-blog-featured-content h2 a:hover {
                color: var(--bs-primary);
                text-decoration: none;
            }

/* Mobile */
@media (max-width: 991.98px) {

    .lq-blog-featured-image,
    .lq-blog-featured-image img,
    .lq-blog-placeholder {
        min-height: 280px;
    }

    .lq-blog-featured-content {
        padding: 1.5rem;
    }
}

/* =========================================================
   CONTACT
   ========================================================= */

.lq-contact {
    padding-bottom: 4rem;
}

.lq-contact-info {
    height: 100%;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid var(--lq-border);
    border-radius: 1rem;
}

.lq-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9edf2;
}

    .lq-contact-info-item:last-child {
        border-bottom: 0;
    }

.lq-contact-info-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lq-primary);
    background: #eef4ff;
    border-radius: 0.7rem;
}

.lq-contact-form {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--lq-border);
    border-radius: 1rem;
    box-shadow: var(--lq-shadow);
}


/* =========================================================
   FORM CHUNG
   ========================================================= */

.form-label {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control,
.form-select {
    min-height: 46px;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 0.65rem;
    box-shadow: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea.form-control {
    min-height: 120px;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus,
.form-select:focus {
    color: #111827;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1) !important;
}


/* Validation */

.field-validation-error {
    display: block;
    margin-top: 0.35rem;
    color: #dc3545;
    font-size: 0.82rem;
}

.input-validation-error {
    border-color: #dc3545 !important;
}


/* =========================================================
   LOGIN / REGISTER
   ========================================================= */

.lq-auth {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.lq-auth-wrapper {
    width: 100%;
    max-width: 440px;
}

.lq-auth-card {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid var(--lq-border);
    border-radius: 1rem;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

.lq-auth-logo {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lq-primary);
    background: #eef4ff;
    border-radius: 1rem;
    font-size: 1.6rem;
}

.lq-auth-title {
    color: #111827;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lq-auth-subtitle {
    color: var(--lq-text-secondary);
    font-size: 0.92rem;
}

.lq-auth-card .btn-primary {
    min-height: 46px;
    border-radius: 0.65rem;
    font-weight: 600;
}


/* Login/Register links */

.lq-auth-link {
    color: var(--lq-primary);
    font-weight: 600;
    text-decoration: none;
}

    .lq-auth-link:hover {
        color: var(--lq-primary-dark);
        text-decoration: underline;
    }


/* External login */

.lq-social-login {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

    .lq-social-login .btn {
        min-height: 44px;
        border-radius: 0.65rem;
        font-weight: 500;
    }


/* =========================================================
   ALERT
   ========================================================= */

.lq-main .alert {
    border-radius: 0.8rem;
}

.lq-main .alert-success,
.lq-main .alert-danger,
.lq-main .alert-warning,
.lq-main .alert-info {
    border: 0;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}


/* =========================================================
   BUTTON
   ========================================================= */

.btn {
    border-radius: 0.65rem;
    font-weight: 500;
}

.btn-primary {
    font-weight: 600;
}

.btn-outline-primary:hover {
    color: #ffffff;
}


/* =========================================================
   TABLE
   ========================================================= */

.lq-table {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--lq-border);
    border-radius: 0.9rem;
}

    .lq-table table {
        margin-bottom: 0;
    }

    .lq-table th {
        color: #374151;
        background: #f8fafc;
        font-size: 0.85rem;
        font-weight: 650;
        white-space: nowrap;
    }

    .lq-table td {
        color: #4b5563;
        vertical-align: middle;
    }


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

.lq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    color: #475569;
    background: #f1f5f9;
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 600;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.lq-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #d8dee8;
    border-radius: 1rem;
}

.lq-empty-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--lq-primary);
    background: #eef4ff;
    border-radius: 1rem;
    font-size: 1.7rem;
}

.lq-empty h2,
.lq-empty h3 {
    color: #111827;
    font-size: 1.1rem;
    font-weight: 650;
}

.lq-empty p {
    color: var(--lq-text-secondary);
}

.badge-ok {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    padding: .4rem .65rem;
    border-radius: .5rem;
    background-color: #dcfce7;
    color: #166534;
    font-weight: 600;
    font-size: .8rem;
    opacity: 1;
}

.badge-warn {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    padding: .4rem .65rem;
    border-radius: .5rem;
    background-color: #fef3c7;
    color: #92400e;
    font-weight: 600;
    font-size: .8rem;
    opacity: 1;
}

    .badge-ok i,
    .badge-warn i {
        opacity: 1;
        color: inherit;
    }

/* =========================================================
   FOOTER
   ========================================================= */
.footer-lq {
    margin-top: 4rem;
    background: #ffffff;
    border-top: 1px solid var(--lq-border);
}

    .footer-lq h3 {
        color: #111827;
    }

    .footer-lq a {
        transition: color 0.18s ease;
    }

        .footer-lq a:hover {
            color: var(--lq-primary) !important;
        }

    .footer-lq .text-secondary {
        color: #6b7280 !important;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .lq-navbar .navbar-collapse {
        padding: 0.75rem 0 1rem;
    }

    .lq-navbar .navbar-nav {
        gap: 0.15rem;
    }

        .lq-navbar .navbar-nav .nav-link {
            margin: 0;
            padding: 0.7rem 0.8rem !important;
        }

    .lq-navbar .dropdown-menu {
        margin-top: 0.25rem;
        box-shadow: none !important;
    }
}


@media (max-width: 767.98px) {

    .lq-page-header {
        padding: 2rem 0 1.5rem;
    }

    .lq-section {
        padding: 2rem 0;
    }

    .lq-auth {
        padding: 2rem 0.75rem;
    }

    .lq-auth-card {
        padding: 1.5rem;
        border-radius: 0.9rem;
    }

    .lq-contact-form,
    .lq-contact-info {
        padding: 1.25rem;
    }

    .lq-article p,
    .lq-article li {
        font-size: 1rem;
    }
}
/* =========================================================
   LITEQR NAVBAR
   ========================================================= */
.lq-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    z-index: 1030;
}

/* Brand */
.lq-navbar .navbar-brand {
    color: #111827 !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

    .lq-navbar .navbar-brand:hover {
        color: #0d6efd !important;
    }

    .lq-navbar .navbar-brand i {
        color: #0d6efd;
    }


/* =========================================================
   MENU CHÍNH
   ========================================================= */

.lq-navbar .navbar-nav .nav-link {
    color: #374151 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem !important;
    margin: 0 0.1rem;
    border-radius: 0.6rem;
    transition: color 0.18s ease, background-color 0.18s ease;
}

    /* Hover */
    .lq-navbar .navbar-nav .nav-link:hover {
        color: #0d6efd !important;
        background-color: #f1f5ff;
    }


    /* Menu đang active */
    .lq-navbar .navbar-nav .nav-link.active {
        color: #0d6efd !important;
        background-color: #eef4ff;
        font-weight: 600;
    }


/* =========================================================
   DROPDOWN QUẢN LÝ
   ========================================================= */

.lq-navbar .dropdown-menu {
    margin-top: 0.5rem;
    padding: 0.45rem;
    background: #ffffff;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.lq-navbar .dropdown-item {
    color: #374151 !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
}

    .lq-navbar .dropdown-item:hover,
    .lq-navbar .dropdown-item:focus {
        color: #0d6efd !important;
        background-color: #f1f5ff;
    }


/* =========================================================
   NÚT "TẠO QR MIỄN PHÍ"
   ========================================================= */

.lq-navbar .lq-nav-cta {
    color: #ffffff !important;
    background: #0d6efd;
    border: 1px solid #0d6efd;
    font-weight: 600;
    border-radius: 0.65rem;
    padding: 0.55rem 1rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

    .lq-navbar .lq-nav-cta:hover {
        color: #ffffff !important;
        background: #0b5ed7;
        border-color: #0b5ed7;
        transform: translateY(-1px);
    }


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

.lq-navbar .navbar-toggler {
    border: 1px solid #dee2e6 !important;
    background: #ffffff;
    padding: 0.45rem 0.6rem;
}

    .lq-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }


/* Bootstrap navbar-dark có thể làm icon/menu sai màu.
   Tạo icon hamburger rõ ràng */
.lq-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(55,65,81,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


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

@media (max-width: 991.98px) {

    .lq-navbar .navbar-collapse {
        padding: 0.75rem 0 1rem;
    }

    .lq-navbar .navbar-nav {
        gap: 0.15rem;
    }

        .lq-navbar .navbar-nav .nav-link {
            padding: 0.7rem 0.8rem !important;
            margin: 0;
        }

    .lq-navbar .dropdown-menu {
        margin-top: 0.25rem;
        box-shadow: none !important;
        border: 1px solid #edf0f3 !important;
    }

    .lq-navbar .lq-nav-cta {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}


/* =========================================================
   LOGIN PARTIAL
   ========================================================= */

/*
   Áp dụng cho các link Đăng nhập / Đăng ký
   nằm bên phải navbar.
*/

.lq-navbar .navbar-collapse > .d-flex a {
    color: #374151;
}

    .lq-navbar .navbar-collapse > .d-flex a:hover {
        color: #0d6efd;
    }


/* =========================================================
   NAVBAR KHI SCROLL
   ========================================================= */

.lq-navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


    /* =========================================================
   FIX QUAN TRỌNG
   ========================================================= */

    /*
   Nếu Layout đang dùng:

   <nav class="navbar navbar-expand-lg navbar-dark lq-navbar">

   thì navbar-dark của Bootstrap có thể ghi đè màu menu.

   CSS dưới đây buộc menu LiteQR sử dụng màu của chúng ta.
*/

    .lq-navbar.navbar-dark .navbar-nav .nav-link {
        color: #374151 !important;
    }

        .lq-navbar.navbar-dark .navbar-nav .nav-link:hover,
        .lq-navbar.navbar-dark .navbar-nav .nav-link:focus {
            color: #0d6efd !important;
        }

    .lq-navbar.navbar-dark .navbar-brand {
        color: #111827 !important;
    }


/* =========================================================
   ADMIN LITEQR
   ========================================================= */
.admin-body {
    background: #f1f5f9;
    min-height: 100vh;
    overflow-x: hidden;
}

.admin-shell {
    display: flex;
    min-height: 100vh;
}

/* =========================
   DESKTOP SIDEBAR
   ========================= */

.admin-sidebar {
    width: 250px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.25rem .9rem;
    flex-shrink: 0;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

    .admin-brand i {
        font-size: 1.15rem;
    }

/* Desktop menu */

.admin-sidebar .admin-nav {
    display: flex;
    flex-direction: column;
}

    .admin-sidebar .admin-nav a {
        display: flex;
        align-items: center;
        gap: .65rem;
        color: #cbd5e1;
        text-decoration: none;
        padding: .55rem .7rem;
        border-radius: .55rem;
        font-size: .92rem;
        transition: background-color .15s ease, color .15s ease;
    }

        .admin-sidebar .admin-nav a i {
            width: 20px;
            text-align: center;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .admin-sidebar .admin-nav a:hover {
            background: rgba(255,255,255,.08);
            color: #fff;
        }

        .admin-sidebar .admin-nav a.active {
            background: rgba(79,70,229,.25);
            color: #fff;
        }

/* Group title */

.admin-sidebar .admin-nav-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #64748b;
    margin: .9rem .7rem .3rem;
    font-weight: 700;
}

/* =========================
   MAIN
   ========================= */

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 58px;
}

    .admin-topbar > .fw-semibold {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.admin-content {
    padding: 1.25rem;
}

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

#adminOffcanvas {
    width: min(300px, 85vw);
    background: #0f172a;
    color: #e2e8f0;
}

    #adminOffcanvas .offcanvas-header {
        padding: 1.15rem 1rem;
        background: #0f172a;
        border-color: rgba(255,255,255,.08) !important;
    }

    #adminOffcanvas .offcanvas-title {
        color: #fff;
        font-weight: 700;
    }

    #adminOffcanvas .btn-close {
        filter: invert(1);
        opacity: .8;
    }

    #adminOffcanvas .offcanvas-body {
        padding: 0;
        background: #0f172a;
    }

    /* Mobile menu */

    #adminOffcanvas .admin-nav {
        display: flex;
        flex-direction: column;
        padding: .75rem .9rem 1.5rem;
    }

        #adminOffcanvas .admin-nav a {
            display: flex;
            align-items: center;
            gap: .7rem;
            width: 100%;
            color: #cbd5e1;
            text-decoration: none;
            padding: .7rem .75rem;
            margin-bottom: .15rem;
            border-radius: .55rem;
            font-size: .94rem;
            transition: background-color .15s ease, color .15s ease;
        }

            #adminOffcanvas .admin-nav a i {
                width: 22px;
                text-align: center;
                font-size: 1.05rem;
                flex-shrink: 0;
            }

            #adminOffcanvas .admin-nav a span {
                min-width: 0;
            }

            #adminOffcanvas .admin-nav a:hover,
            #adminOffcanvas .admin-nav a:focus {
                background: rgba(255,255,255,.08);
                color: #fff;
            }

            #adminOffcanvas .admin-nav a.active {
                background: rgba(79,70,229,.3);
                color: #fff;
            }

    /* Mobile group title */

    #adminOffcanvas .admin-nav-label {
        font-size: .68rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: #64748b;
        font-weight: 700;
        padding: .9rem .75rem .35rem;
    }

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

@media (max-width: 991.98px) {

    .admin-sidebar {
        display: none;
    }

    .admin-topbar {
        padding: .65rem .85rem;
    }

    .admin-content {
        padding: .85rem;
    }

    .admin-topbar .btn {
        flex-shrink: 0;
    }

    .admin-topbar .ms-auto {
        min-width: 0;
    }

        .admin-topbar .ms-auto a {
            display: none;
        }

        .admin-topbar .ms-auto form {
            margin: 0;
        }

            .admin-topbar .ms-auto form button {
                white-space: nowrap;
            }
}

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

@media (max-width: 575.98px) {

    .admin-topbar {
        gap: .5rem;
    }

        .admin-topbar > .fw-semibold {
            font-size: .9rem;
        }

        .admin-topbar .btn {
            font-size: .8rem;
        }

    .admin-content {
        padding: .7rem;
    }

    #adminOffcanvas {
        width: 85vw;
    }
}