.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.header-main__logo {
    flex: 0 0 auto;
}

.header-main__center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.header-main__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-links {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
    color: #111827;
}

.quick-links a {
    color: inherit;
    position: relative;
    padding: .5rem 0;
    display: inline-block;
}

.quick-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: #2563eb;
    transform: scaleX(0);
    transition: transform .2s ease;
}

.quick-links a:hover::after,
.quick-links a:focus::after {
    transform: scaleX(1);
}

.quick-links li.active a::after {
    transform: scaleX(1);
}

/*your custom css goes here*/

/* Top offers bar */
.top-offers-bar {
    background: #0f172a;
    color: #fff;
    font-size: .82rem;
}

.top-offers-bar .offer-item {
    white-space: nowrap;
    opacity: .9;
}

/* Product cards */
.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}

.product-card__media {
    position: relative;
    padding-top: 100%;
    /* 1:1 square — better across 5 columns */
    /* overflow: hidden; Removed to allow the Add to Cart button to overlap the bottom edge */
}

.product-card__image {
    position: absolute;
    inset: 0;
    display: block;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__ribbon {
    position: absolute;
    left: 16px;
    top: 16px;
    background: #fff;
    color: #d91e63;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 8px 6px;
    font-size: .68rem;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-radius: 999px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
}

.product-card__wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #1f2937;
    display: grid;
    place-items: center;
    transition: transform .2s ease, color .2s ease, background .2s ease;
}

.product-card__wishlist:hover {
    background: #fff;
    color: #d91e63;
    transform: scale(1.1);
}

.product-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
}

.product-card__name {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
    max-height: 2.8em;
    overflow: hidden;
}

.product-card__name a {
    color: inherit;
    text-decoration: none;
}

.product-card__pricing {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.product-card__price-current {
    font-weight: 700;
    color: #047857;
    font-size: 1rem;
}

.product-card__price-old {
    color: #9ca3af;
    font-size: .85rem;
}

.product-card__discount {
    color: #d91e63;
    font-size: .8rem;
    font-weight: 600;
}

.product-card__discount span {
    color: #f87171;
    font-weight: 500;
    margin-left: .25rem;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    color: #fbbf24;
}

.product-card__rating .rating {
    color: inherit;
}

.product-card__rating-count {
    color: #6b7280;
}

.product-card__sizes {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.product-card__sizes-label {
    font-size: .7rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.product-card__sizes-group {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

.product-card__size-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: .7rem;
    font-weight: 600;
}

.product-card__footer {
    margin-top: auto;
}

.product-card__cta {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f97316, #fb7185);
    color: #fff;
    border: none;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    z-index: 2;
    /* Ensure it stays above the image */
}

.product-card__cta:hover {
    transform: translateY(-3px) scale(1.1);
    /* Match the wishlist scale effect */
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
    background: linear-gradient(135deg, #ea580c, #e11d48);
    color: #fff;
}

.product-card__cta i {
    font-size: 1.25rem;
}

/* ============================================================
   GLOBAL: prevent horizontal scroll caused by carousels
   ============================================================ */
body {
    overflow-x: hidden;
}

/* ============================================================
   SECTION HEADER (shared by featured, flash, today's deal…)
   ============================================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.section-header__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.01em;
}

.section-header__title i {
    font-size: 1.2rem;
}

.section-header__badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.section-header__badge--fire {
    background: #fef3c7;
    color: #d97706;
}

.section-header__badge--hot {
    background: #fee2e2;
    color: #dc2626;
}

.section-header__link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary, #e62d04);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s ease;
}

.section-header__link:hover {
    opacity: .75;
    color: var(--primary, #e62d04);
}

/* ============================================================
   HOMEPAGE PRODUCT CAROUSELS
   ── Best-practice pattern:
      1. Wrapper has overflow:hidden to clip the track.
      2. We give the carousel container horizontal padding so
         slide content never hides behind arrow buttons.
      3. Arrows are pulled back with negative margins so they
         sit in that padding zone — visible but NOT overlapping
         product cards.
   ============================================================ */

/* Wrapper that clips overflow – applied on the section element
   (the `style="overflow-x: hidden;"` already on each section
   handles this, but we reinforce at the inner container level) */
.col-md-12.px-3.py-4 {
    overflow: hidden;
    /* belt & suspenders */
}

/* The carousel element itself */
.featured-carousel {
    /* Add horizontal space so arrows have room without overlapping cards */
    padding-left: 44px;
    padding-right: 44px;
    box-sizing: border-box;
    width: 100%;
}

/* Slick's inner track wrapper must stay overflow:hidden */
.featured-carousel .slick-list {
    overflow: hidden;
}

/* Per-slide spacing */
.featured-carousel .carousel-box {
    padding: 6px 8px;
}

/* ── Arrows ───────────────────────────────────────────────── */
/* Override the default aiz-core positioning to sit inside our
   44 px padding zones (centred in that zone = left/right: 0) */
.featured-carousel.aiz-carousel .slick-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    border: 1px solid #e5e7eb;
    font-size: 14px;
    line-height: 36px;
    transition: box-shadow .2s ease, background .2s ease, transform .15s ease;
}

.featured-carousel.aiz-carousel .slick-arrow:hover {
    background: var(--primary, #e62d04);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(230, 45, 4, .35);
    transform: translateY(-50%) scale(1.08);
}

.featured-carousel.aiz-carousel .slick-prev {
    left: 4px;
}

.featured-carousel.aiz-carousel .slick-next {
    right: 4px;
}

/* Disabled / hidden arrows */
.featured-carousel.aiz-carousel .slick-disabled {
    opacity: .35;
    pointer-events: none;
}

/* ── Responsive: collapse padding on small screens ────────── */
@media (max-width: 575.98px) {
    .featured-carousel {
        padding-left: 30px;
        padding-right: 30px;
    }

    .featured-carousel.aiz-carousel .slick-prev {
        left: 2px;
    }

    .featured-carousel.aiz-carousel .slick-next {
        right: 2px;
    }
}



/* Section heading */
.section-heading {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.section-heading__eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #f97316;
}

.section-heading__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.section-heading__title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    position: relative;
    padding-bottom: .4rem;
}

.section-heading__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316 0%, #fb7185 100%);
}

.section-heading__cta {
    font-size: .9rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.section-heading__cta::after {
    content: "→";
    font-size: 1rem;
    transition: transform .2s ease;
}

.section-heading__cta:hover::after {
    transform: translateX(4px);
}

[dir=rtl] .section-heading__title::after {
    left: auto;
    right: 0;
}

[dir=rtl] .section-heading__cta::after {
    content: "←";
}

/* Professional Tab-Style Section Headers */
.section-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.section-tab {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fce7f3;
    color: #111827;
    position: relative;
    outline: none;
}

.section-tab:hover {
    background: #fbcfe8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-tab--active {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.section-tab--active:hover {
    background: #b91c1c;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

@media (max-width: 767px) {
    .section-tabs {
        gap: 8px;
        margin-bottom: 1.25rem;
    }

    .section-tab {
        padding: 10px 18px;
        font-size: 0.875rem;
        flex: 1;
        min-width: 0;
    }
}

/* Header icon cluster */
.header-auth-icon,
.header-action .icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    display: inline-grid;
    place-items: center;
    transition: all .2s ease;
    font-size: 1.2rem;
}

.header-auth-icon:hover,
.header-action:hover .icon-wrapper {
    background: #2563eb;
    color: #fff;
}

.header-action .icon-wrapper .count {
    position: absolute;
    top: -6px;
    right: -6px;
}

[dir=rtl] .header-action .icon-wrapper .count {
    right: auto;
    left: -6px;
}

.header-actions .label {
    font-size: .72rem;
    font-weight: 600;
    margin-top: .25rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width:1199.98px) {
    .header-actions .label {
        display: none;
    }
}

/* Search overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1055;
}

.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .6);
}

.search-overlay-panel {
    position: relative;
    max-width: 720px;
    margin: 10vh auto 0;
    background: #fff;
    border-radius: .5rem;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.search-trigger {
    font-size: 1.15rem;
    color: #1f2937;
}

.search-trigger:hover {
    color: #2563eb;
}

/* Primary horizontal nav */
.primary-nav {
    background: #fff;
}

.primary-menu {
    margin: 0;
    padding: .25rem 0;
    list-style: none;
    gap: 1.25rem;
}

.primary-menu .menu-item>a {
    font-weight: 600;
    color: #111827;
    padding: .75rem .25rem;
    display: inline-block;
}

.primary-menu .menu-item:hover>a {
    color: #2563eb;
}

.primary-menu .menu-item {
    position: relative;
}

.primary-menu .menu-item .mega {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    transition: all .15s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.primary-menu .menu-item:hover .mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-title {
    font-weight: 700;
    color: #111827;
}

.mega a {
    color: #374151;
}

.mega a:hover {
    color: #2563eb;
}

/* Site footer - White Background Theme */
.site-footer {
    position: relative;
    color: #1f2937;
    background: #ffffff;
    overflow: hidden;
    border-top: 1px solid #e5e7eb;
}

.site-footer__highlight {
    display: none;
}

.site-footer__top {
    padding: 3.5rem 0 3rem;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.site-footer__top-inner {
    display: grid;
    grid-template-columns: 350px 1fr 1fr 300px;
    /* 4 columns: Logo/About, Links, Showrooms, Contact */
    gap: 2rem;
    align-items: flex-start;
}

.site-footer__brand {
    max-width: 420px;
}

.site-footer__logo img {
    filter: brightness(1);
    max-height: 42px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .site-footer__logo img {
        max-height: 32px;
    }
}

.site-footer__about {
    margin-top: 1.5rem;
    font-size: .95rem;
    line-height: 1.7;
    color: #4b5563;
}

.site-footer__newsletter {
    max-width: 420px;
}

.site-footer__eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: .75rem;
}

.site-footer__headline {
    margin: 0 0 .9rem;
    font-size: 1.55rem;
    font-weight: 700;
    color: #111827;
}

.site-footer__newsletter-form {
    width: 100%;
}

.site-footer__newsletter-input {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.4rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.site-footer__newsletter-input:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.site-footer__newsletter-input input {
    flex: 1 1 auto;
    background: transparent;
    border: none;
    outline: none;
    color: #111827;
    padding: .65rem 1rem;
    font-size: .9rem;
}

.site-footer__newsletter-input input::placeholder {
    color: #6b7280;
}

.site-footer__newsletter-input button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #f97316, #fb7185);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-footer__newsletter-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(249, 115, 22, .35);
}

.site-footer__apps {
    margin-top: 1.25rem;
    color: #4b5563;
    font-size: .85rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.site-footer__apps-links {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.site-footer__apps-links img {
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
    transition: transform .2s ease;
}

.site-footer__apps-links img:hover {
    transform: translateY(-3px);
}

.site-footer__main {
    padding: 2rem 0 1.75rem;
    position: relative;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.75rem 2.5rem;
}

.site-footer__title {
    position: relative;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #111827;
}

.site-footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.4rem;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #fb7185);
}

.site-footer__title--sm {
    font-size: .8rem !important;
    margin-bottom: 1.25rem !important;
    color: #4b5563 !important;
    letter-spacing: .1em !important;
}

.site-footer__title--sm::after {
    height: 2px !important;
    width: 28px !important;
}

.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem;
}

.site-footer__links a {
    color: #4b5563;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
    font-size: .92rem;
}

.site-footer__links a:hover {
    color: #111827;
    transform: translateX(4px);
}

.site-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: .65rem;
    font-size: .92rem;
}

.site-footer__contact li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    color: #4b5563;
    word-break: break-all;
    word-wrap: break-word;
    /* Ensure extremely long unbroken strings are wrapped */
}

.site-footer__contact i {
    font-size: 1rem;
    color: #f97316;
    margin-top: .2rem;
}

.site-footer__contact a {
    color: inherit;
    text-decoration: none;
}

.site-footer__contact a:hover {
    color: #111827;
}

.site-footer__social {
    display: flex;
    gap: .55rem;
    margin-bottom: 1.25rem;
}

.site-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    background: #f3f4f6;
    transition: transform .2s ease, background .2s ease;
}

.site-footer__social a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}

.site-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.site-footer__payments {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
}

.site-footer__payments img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(1) grayscale(0.2) contrast(0.9);
    transition: all 0.4s ease;
    border-radius: 8px;
    opacity: 0.85;
}

.site-footer__payments img:hover {
    transform: scale(1.02);
    filter: brightness(1.1) grayscale(0);
    opacity: 1;
}

.site-footer__payments img:hover {
    transform: scale(1.01);
    filter: brightness(1.1);
}

.site-footer__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #fb7185);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(249, 115, 22, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-footer__cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(251, 113, 133, .4);
}

.site-footer__bottom {
    padding: 1.6rem 0;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    position: relative;
}

.site-footer__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer__copy {
    margin: 0;
    color: #6b7280;
    font-size: .85rem;
}

.site-footer__bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-footer__bottom-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: .85rem;
}

.site-footer__bottom-links a:hover {
    color: #111827;
}

/* Showrooms in Footer */
.site-footer__showroom-location {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
    font-weight: 400;
}

.site-footer__links a i.las {
    margin-right: 8px;
    color: #f97316;
    font-size: 0.9rem;
}

.site-footer__view-all {
    color: #f97316 !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.site-footer__view-all:hover {
    color: #ea580c !important;
    transform: translateX(4px);
}

.site-footer__view-all i {
    transition: transform 0.2s ease;
}

.site-footer__view-all:hover i {
    transform: translateX(2px);
}

@media (max-width:992px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Home hero slider overlay */
.home-hero-slide {
    border-radius: 12px;
    overflow: hidden;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(2, 6, 23, .05) 0%, rgba(2, 6, 23, .35) 65%, rgba(2, 6, 23, .6) 100%);
}

.home-hero-content {
    max-width: 70%;
    color: #f8fafc;
}

.home-hero-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.home-hero-subtitle {
    color: #f1f5f9;
    font-size: .95rem;
    opacity: .95;
}

@media(max-width:991.98px) {
    .home-hero-content {
        max-width: 86%;
    }

    .home-hero-title {
        font-size: 1.25rem;
    }

    .home-hero-subtitle {
        font-size: .9rem;
    }
}

@media (max-width: 1200px) {
    .site-footer__top-inner {
        grid-template-columns: 300px 1fr 1fr 250px;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .site-footer__top-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .site-footer__brand {
        grid-column: span 2;
    }
}

@media (max-width:768px) {
    .site-footer__top-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer__brand {
        grid-column: span 1;
        text-align: center;
    }

    .site-footer__newsletter {
        margin: 0 auto;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__top {
        padding: 2.5rem 0 2rem;
    }

    .site-footer__bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .site-footer__newsletter-input {
        flex-direction: row;
        align-items: center;
        border-radius: 999px;
        padding: 0.25rem 0.25rem 0.25rem 1rem;
        gap: 0;
        background: #f9fafb;
    }

    .site-footer__newsletter-input input {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

    .site-footer__newsletter-input button {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }
}

/* Job board */
.job-board {
    background: #f8fafc;
}

.job-board__hero {
    border-radius: 18px;
    background: #fff;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.job-board__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, .08), transparent 55%);
    pointer-events: none;
}

.job-board__eyebrow {
    font-size: .78rem;
    letter-spacing: .16em;
    font-weight: 700;
    color: #2563eb;
}

.job-board__title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .4rem;
}

.job-board__lead {
    color: #4b5563;
    max-width: 580px;
}

.job-board__stats {
    min-width: 160px;
}

.job-board__count {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
}

.job-board__meta {
    font-size: .9rem;
    color: #6b7280;
}

.job-board__layout {
    align-items: flex-start;
}

.job-board__sidebar .card {
    border-radius: 18px;
}

.job-board__filter-form .form-control,
.job-board__filter-form .aiz-selectpicker {
    border-radius: 12px;
}

.job-board__filter-form .btn {
    border-radius: 999px;
    font-weight: 600;
}

.job-board__result {
    font-size: .95rem;
}

.job-board__chip {
    border-radius: 999px;
    padding: .35rem .75rem;
    font-weight: 600;
    font-size: .75rem;
}

.job-board__list {
    display: grid;
    gap: 1.25rem;
}

.job-card {
    border-radius: 18px;
    background: #fff;
    padding: 1.75rem;
    border: 1px solid rgba(226, 232, 240, .7);
    transition: transform .2s ease, box-shadow .2s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, .1);
}

.job-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.job-card__title a {
    color: #0f172a;
    text-decoration: none;
}

.job-card__title a:hover {
    color: #2563eb;
}

.job-card__meta {
    font-size: .85rem;
    color: #6b7280;
}

.job-card__meta i {
    font-size: 1rem;
}

.job-card__type {
    font-weight: 600;
    letter-spacing: .06em;
}

.job-card__tag {
    font-weight: 600;
}

.job-card__featured {
    height: fit-content;
    align-self: flex-start;
    border-radius: 999px;
    padding: .4rem .85rem;
    font-weight: 600;
}

.job-card__body {
    margin-top: 1.25rem;
}

.job-card__salary {
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.job-card__salary i {
    font-size: 1.1rem;
}

.job-card__cta {
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.25rem;
}

.job-card__cta i {
    font-size: 1.1rem;
    transition: transform .2s ease;
}

.job-card__cta:hover i {
    transform: translateX(4px);
}

.job-board__empty-illustration {
    max-width: 220px;
    opacity: .75;
}

/* Job detail */
.job-detail {
    background: #f1f5f9;
}

.job-hero {
    border-radius: 18px;
    background: #fff;
}

.job-hero__title {
    color: #0f172a;
    font-weight: 700;
}

.job-hero__meta {
    font-size: .9rem;
}

.job-hero__meta i {
    font-size: 1rem;
}

.job-hero__featured {
    font-weight: 600;
    border-radius: 999px;
}

.job-content {
    border-radius: 18px;
    background: #fff;
}

.job-content__text {
    color: #374151;
    line-height: 1.7;
}

.job-content h3 {
    font-weight: 700;
    color: #1f2937;
}

.job-related__item:last-child {
    border-bottom: none !important;
}

.job-related__meta {
    font-size: .85rem;
}

.job-related__meta i {
    font-size: 1rem;
}

.job-apply {
    border-radius: 18px;
    background: #fff;
    position: sticky;
    top: 96px;
}

.job-summary li i {
    font-size: 1.1rem;
}

.job-apply-form .form-label {
    color: #0f172a;
}

.job-apply-form .btn {
    border-radius: 999px;
    font-weight: 600;
}

.job-apply-form__disclaimer {
    line-height: 1.5;
}

.job-apply-form__file input[type="file"] {
    padding: .45rem 0;
}

@media (max-width:1199.98px) {
    .job-hero {
        border-radius: 16px;
    }

    .job-apply {
        position: static;
        margin-top: 1.5rem;
    }
}

@media (max-width:991.98px) {
    .job-board__hero {
        padding: 1.75rem;
    }

    .job-board__title {
        font-size: 1.7rem;
    }

    .job-card {
        border-radius: 16px;
        padding: 1.5rem;
    }
}

@media (max-width:575.98px) {
    .job-board__hero {
        padding: 1.5rem;
    }

    .job-hero__title {
        font-size: 1.5rem;
    }

    .job-card {
        padding: 1.25rem;
    }

    .job-board__chip {
        margin-top: .35rem;
    }
}

/* ============================================
   User Authentication Pages - Professional Design
   ============================================ */

.auth-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.auth-container {
    position: relative;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.auth-card__header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-card__logo {
    margin-bottom: 1rem;
}

.auth-card__logo img {
    max-height: 50px;
    width: auto;
}

.auth-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-card__subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.auth-card__body {
    padding: 2rem;
}

.auth-card__footer {
    padding: 1.5rem 2rem;
    text-align: center;
    background: #f9fafb;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-card__footer p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.auth-card__footer a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-card__footer a:hover {
    color: #764ba2;
}

/* Form Styles */
.auth-form {
    margin-bottom: 0;
}

.auth-form__group {
    margin-bottom: 1.5rem;
}

.auth-form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.auth-form__input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    color: #1f2937;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
    outline: none;
}

.auth-form__input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-form__input.is-invalid {
    border-color: #ef4444;
}

.auth-form__input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.auth-form__input::placeholder {
    color: #9ca3af;
}

.auth-form__password-wrapper {
    position: relative;
}

.auth-form__password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.auth-form__password-toggle:hover {
    color: #667eea;
}

.auth-form__error {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #ef4444;
}

.auth-form__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-form__checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.auth-form__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #667eea;
}

.auth-form__checkbox-label {
    font-size: 0.875rem;
    color: #6b7280;
    user-select: none;
}

.auth-form__forgot {
    font-size: 0.875rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-form__forgot:hover {
    color: #764ba2;
}

.auth-form__toggle {
    background: none;
    border: none;
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.auth-form__toggle:hover {
    color: #764ba2;
}

.auth-form__submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.auth-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.auth-form__submit:active {
    transform: translateY(0);
}

.auth-form__submit i {
    transition: transform 0.2s ease;
}

.auth-form__submit:hover i {
    transform: translateX(4px);
}

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Social Login */
.auth-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.auth-social__btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    border: 2px solid #e5e7eb;
}

.auth-social__btn--facebook {
    color: #1877f2;
    border-color: #1877f2;
}

.auth-social__btn--facebook:hover {
    background: #1877f2;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.auth-social__btn--google {
    color: #ea4335;
    border-color: #ea4335;
}

.auth-social__btn--google:hover {
    background: #ea4335;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}

.auth-social__btn--twitter {
    color: #1da1f2;
    border-color: #1da1f2;
}

.auth-social__btn--twitter:hover {
    background: #1da1f2;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

/* Demo Credentials */
.auth-demo {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #e5e7eb;
}

.auth-demo__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    text-align: center;
}

.auth-demo__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-demo__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.auth-demo__item span {
    font-size: 0.875rem;
    color: #6b7280;
}

.auth-demo__btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid #667eea;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-demo__btn:hover {
    background: #667eea;
    color: #ffffff;
}

/* ============================================
   Admin Authentication Pages - Professional Design
   ============================================ */

.admin-auth-section {
    min-height: 100vh;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.admin-auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
}

@keyframes adminGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.admin-auth-container {
    position: relative;
    z-index: 1;
}

.admin-auth-card {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    max-width: 420px;
    margin: 0 auto;
}

.admin-auth-card__header {
    text-align: center;
    padding: 1.5rem 1.5rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.admin-auth-card__logo {
    margin-bottom: 0.75rem;
}

.admin-auth-card__logo img {
    max-height: 40px;
    width: auto;
}

.admin-auth-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
}

.admin-auth-card__subtitle {
    display: none;
}

.admin-auth-card__body {
    padding: 1.5rem;
}

.admin-auth-card__footer {
    padding: 1rem 1.5rem;
    text-align: center;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.admin-auth-card__footer p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.admin-auth-card__footer a {
    color: #1e3c72;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.admin-auth-card__footer a:hover {
    color: #2a5298;
}

/* Admin Form Styles */
.admin-auth-form {
    margin-bottom: 0;
}

.admin-auth-form__group {
    margin-bottom: 1rem;
}

.admin-auth-form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}

.admin-auth-form__input-wrapper {
    position: relative;
}

.admin-auth-form__icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    z-index: 1;
}

.admin-auth-form__input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.9rem;
    color: #1f2937;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
    outline: none;
}

.admin-auth-form__input:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.admin-auth-form__input:focus~.admin-auth-form__icon,
.admin-auth-form__input:focus+.admin-auth-form__icon {
    color: #1e3c72;
}

.admin-auth-form__input.is-invalid {
    border-color: #ef4444;
}

.admin-auth-form__input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.admin-auth-form__input::placeholder {
    color: #9ca3af;
}

.admin-auth-form__password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
    z-index: 1;
}

.admin-auth-form__password-toggle:hover {
    color: #1e3c72;
}

.admin-auth-form__error {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #ef4444;
}

.admin-auth-form__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-auth-form__checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.admin-auth-form__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #1e3c72;
}

.admin-auth-form__checkbox-label {
    font-size: 0.875rem;
    color: #6b7280;
    user-select: none;
}

.admin-auth-form__forgot {
    font-size: 0.875rem;
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.admin-auth-form__forgot:hover {
    color: #2a5298;
}

.admin-auth-form__submit {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.4);
    position: relative;
}

.admin-auth-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.5);
}

.admin-auth-form__submit:active {
    transform: translateY(0);
}

.admin-auth-form__submit i {
    transition: transform 0.2s ease;
}

.admin-auth-form__submit:hover i {
    transform: translateX(4px);
}

.admin-auth-form__submit.btn-loading {
    pointer-events: none;
}

.admin-auth-form__submit.btn-loading .btn-text {
    opacity: 0;
}

.admin-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: adminSpin 1s ease-in-out infinite;
}

@keyframes adminSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
        border-radius: 20px;
    }

    .auth-card__header {
        padding: 2rem 1.5rem 1rem;
    }

    .auth-card__body {
        padding: 1.5rem;
    }

    .auth-card__footer {
        padding: 1rem 1.5rem;
    }

    .auth-card__title {
        font-size: 1.5rem;
    }

    .admin-auth-card {
        margin: 0.5rem;
        border-radius: 12px;
    }

    .admin-auth-card__header {
        padding: 1.25rem 1.25rem 0.75rem !important;
    }

    .admin-auth-card__body {
        padding: 1.25rem !important;
    }

    .admin-auth-card__footer {
        padding: 0.75rem 1.25rem !important;
    }
}

/* ============================================
   Compact Auth Styles - More User Friendly
   ============================================ */

.auth-card--compact {
    max-width: 100%;
}

.auth-card__header--compact {
    padding: 1.5rem 1.5rem 1rem !important;
}

.auth-card__header--compact .auth-card__logo {
    margin-bottom: 0.75rem;
}

.auth-card__title--compact {
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
}

.auth-card__subtitle {
    display: none;
}

.auth-card__body--compact {
    padding: 1.5rem !important;
}

.auth-card__footer--compact {
    padding: 1rem 1.5rem !important;
}

.auth-form__group--compact {
    margin-bottom: 1rem !important;
}

.auth-form__group--compact .auth-form__label {
    display: none;
}

.auth-form__input {
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
}

.auth-form__options--compact {
    margin-bottom: 1rem !important;
}

.auth-form__submit--compact {
    padding: 0.875rem 1rem !important;
    font-size: 0.95rem !important;
    margin-top: 0.5rem;
}

.auth-divider--compact {
    margin: 1.25rem 0 !important;
}

.auth-social--compact {
    margin-bottom: 0.75rem !important;
}

.auth-social__btn {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.1rem !important;
}

/* Compact Demo Credentials */
.auth-demo--compact {
    margin: 1rem 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.auth-demo__toggle {
    width: 100%;
    padding: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

.auth-demo__toggle:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.auth-demo__toggle i {
    transition: transform 0.2s ease;
}

.auth-demo__content {
    margin-top: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
}

.auth-demo__list {
    gap: 0.5rem !important;
}

.auth-demo__item {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
}

.auth-demo__btn {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.7rem !important;
}

/* Responsive adjustments for compact design */
@media (max-width: 768px) {
    .auth-section {
        padding: 1rem 0;
    }

    .auth-card--compact {
        margin: 0.5rem;
        border-radius: 16px;
    }

    .auth-card__header--compact {
        padding: 1.25rem 1.25rem 0.75rem !important;
    }

    .auth-card__body--compact {
        padding: 1.25rem !important;
    }

    .auth-card__footer--compact {
        padding: 0.75rem 1.25rem !important;
    }
}

/* ============================================
   Notification Position Override - Top Right
   ============================================ */

/* Override all notification positions to top-right */
body .notifyjs-container,
body .notifyjs-container[data-notify-position],
body .notifyjs-container[data-notify-position="top-right"],
body .notifyjs-container[data-notify-position="bottom-left"],
body .notifyjs-container[data-notify-position="top-left"],
body .notifyjs-container[data-notify-position="bottom-right"] {
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
    position: fixed !important;
}

/* Ensure notification wrapper is positioned correctly */
.notifyjs-bootstrap-base,
.notifyjs-corner {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 9999 !important;
}

/* Override specific corner classes */
.notifyjs-corner.top-right,
.notifyjs-corner.bottom-left,
.notifyjs-corner.top-left,
.notifyjs-corner.bottom-right {
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
}

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

    body .notifyjs-container,
    body .notifyjs-container[data-notify-position],
    body .notifyjs-container[data-notify-position="top-right"],
    body .notifyjs-container[data-notify-position="bottom-left"],
    .notifyjs-bootstrap-base,
    .notifyjs-corner,
    .notifyjs-corner.top-right,
    .notifyjs-corner.bottom-left {
        top: 10px !important;
        right: 10px !important;
        left: auto !important;
        bottom: auto !important;
        max-width: calc(100% - 20px) !important;
    }
}

/* Admin Dashboard - Search Menu Input Text Color Fix */
#menu-search {
    color: #1f2937 !important;
}

#menu-search::placeholder {
    color: #6b7280 !important;
    opacity: 1;
}

#menu-search:focus {
    color: #1f2937 !important;
    background-color: #f3f4f6 !important;
}

/* =============================================================
   GLOBAL BRAND COLOUR OVERRIDE — Maroon (#800000)
   All Blue btn-primary, text-primary, etc are replaced here.
   ============================================================= */

/* ── btn-primary (base) ──────────────────────────────────────── */
.btn-primary,
a.btn-primary,
button.btn-primary {
    background: linear-gradient(135deg, #800000 0%, #5c0000 100%) !important;
    border-color: #800000 !important;
    color: #fff !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    box-shadow: 0 6px 18px rgba(128, 0, 0, 0.20) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    background: linear-gradient(135deg, #5c0000 0%, #3d0000 100%) !important;
    border-color: #5c0000 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(128, 0, 0, 0.30) !important;
}

/* ── btn-outline-primary ─────────────────────────────────────── */
.btn-outline-primary {
    color: #800000 !important;
    border-color: #800000 !important;
    background: transparent !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: #800000 !important;
    border-color: #800000 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* ── btn-soft-primary ────────────────────────────────────────── */
.btn-soft-primary {
    background: rgba(128, 0, 0, 0.12) !important;
    border-color: transparent !important;
    color: #800000 !important;
    border-radius: 999px !important;
    transition: all 0.3s ease !important;
}

.btn-soft-primary:hover,
.btn-soft-primary:focus {
    background: #800000 !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(128, 0, 0, 0.25) !important;
}

/* ── text-primary, links ─────────────────────────────────────── */
.text-primary {
    color: #800000 !important;
}

a.text-primary:hover,
a.text-primary:focus {
    color: #5c0000 !important;
}

/* ── bg-primary ──────────────────────────────────────────────── */
.bg-primary {
    background-color: #800000 !important;
}

/* ── border-primary ──────────────────────────────────────────── */
.border-primary {
    border-color: #800000 !important;
}

/* ── focus rings / input outlines ───────────────────────────── */
.form-control:focus {
    border-color: #800000 !important;
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 0, 0.18) !important;
}

/* ── aiz-steps active step ───────────────────────────────────── */
.aiz-steps .col.active .text-primary,
.aiz-steps .col.active i {
    color: #800000 !important;
}

/* ── badges ──────────────────────────────────────────────────── */
.badge-primary {
    background-color: #800000 !important;
    color: #fff !important;
}

/* ── Checkbox / radio active ─────────────────────────────────── */
.aiz-checkbox input:checked~.aiz-square-check,
.custom-control-input:checked~.custom-control-label::before {
    background-color: #800000 !important;
    border-color: #800000 !important;
}

/* ── noUiSlider track ────────────────────────────────────────── */
.noUi-connect {
    background: #800000 !important;
}

.noUi-handle {
    border-color: #800000 !important;
    box-shadow: 0 2px 6px rgba(128, 0, 0, 0.3) !important;
}

/* ── pagination active ───────────────────────────────────────── */
.page-item.active .page-link {
    background-color: #800000 !important;
    border-color: #800000 !important;
    color: #fff !important;
}

.page-link {
    color: #800000 !important;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 0, 0.18) !important;
}

/* ── nav tabs active ─────────────────────────────────────────── */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #800000 !important;
    border-bottom-color: #800000 !important;
}

/* ── dropdown active item ────────────────────────────────────── */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #800000 !important;
    color: #fff !important;
}