/* ===========================
   ADSLADS Landing Page Styles
   =========================== */

:root {
    --primary-color: #8cc320;
    --secondary-color: #343a40;
    --dark-navy: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 38px; /* Adjust for top bar */
}

.modal-title{
    margin-bottom:0px!important;
}
/* ===========================
   TOP BAR - Currency & Language
   =========================== */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #3b7014;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    margin-left: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.75rem;
    font-weight: 500;
}

.top-bar-item i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
}

.top-bar-select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    cursor: pointer;
    outline: none;
    margin-left: 0.25rem;
    font-weight: 500;
}

.top-bar-select:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

.top-bar-select:focus {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.2);
}

.top-bar-select option {
    background: #3b7014;
    color: #ffffff;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.main-header {
    position: fixed;
    top: 38px; /* Position below top bar */
    left: 0;
    right: 0;
    z-index: 1000;
    /*background: #000000;  Changed to black */
    background: linear-gradient(135deg, #1a1a2e, #0f3460); /* Changed to black */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 0.75rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0px!important ;
}


.brand-text {
    color: var(--white);
}

.brand-highlight {
    color: var(--primary-color);
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Without this, flex-shrink lets each nav-item squeeze below its content's
   natural width, which wraps multi-word labels ("We Create Your Ad") onto
   two lines instead of keeping the whole menu on a single row. */
.navbar-expand-xl .navbar-nav .nav-item {
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Bootstrap's default navbar-dark toggler icon is drawn at 55% opacity white,
   which reads as dim/gray against the dark navy header — override with a
   fully opaque white stroke. */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav slides in from the right (Bootstrap offcanvas) instead of
   dropping down below the header — needs its own dark theming since
   Bootstrap's offcanvas defaults to a white panel. */
.navbar .offcanvas {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    width: 280px;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out !important;
}

.navbar .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .offcanvas-title {
    color: #fff;
    font-weight: 600;
}

.navbar .offcanvas-body .nav-currency-item {
    margin: 1px 0px 7px 0px;
}

/* User-menu dropdown ("Hi, Name" — My Profile/My Orders/Dashboard/Change
   Password/Log Out). Bootstrap's dropdown-item defaults to body font-size
   and a blue active/hover state — match the theme green and a smaller,
   menu-appropriate size instead. */
#userMenuDropdown + .dropdown-menu {
    font-size: 0.85rem;
    padding: 0px!important;
}

#userMenuDropdown + .dropdown-menu .dropdown-item:hover,
#userMenuDropdown + .dropdown-menu .dropdown-item:focus {
    background-color: rgba(77, 140, 32, 0.12);
    color: #3b7014;
}

#userMenuDropdown + .dropdown-menu .dropdown-item.active,
#userMenuDropdown + .dropdown-menu .dropdown-item:active {
    background-color: var(--primary-color);
    color: #fff;
}

/* The align-items-center utility class was removed from the ul markup
   because it also centers items horizontally in the offcanvas's column
   layout on mobile — left-align by default, then re-center (vertically,
   in row layout) only once the menu goes inline on desktop below. */
.navbar-nav {
    align-items: flex-start;
}

@media (min-width: 1200px) {
    .navbar .offcanvas {
        background: transparent;
    }

    /* Bootstrap's responsive offcanvas sets .offcanvas-body to flex-grow:0,
       so it shrinks to its own content width instead of filling the row —
       that leaves no room for the inner .ms-auto to push against, so the
       nav never actually reaches the right edge even with space to spare. */
    .navbar-expand-xl .offcanvas-body {
        flex-grow: 1 !important;
    }

    .navbar-expand-xl .navbar-nav {
        align-items: center;
    }
}

.btn-login {
    border-radius: 20px;
    padding: 0.5rem 1.5rem !important;
}

.btn-register {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-register:hover,
.btn-register:focus-visible,
.btn-register:active {
    background: #3b7014 !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 112, 20,0.3);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
    min-height: 100vh;
    /*background: linear-gradient(135deg, var(--dark-navy) 0%, #34495e 100%); */
    background: linear-gradient(135deg, #1a1a2e, #0f3460); /* Changed to black */
    position: relative;
    padding-top: 120px; /* Increased to account for top bar
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    */ background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 0;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 0.8s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.4s;
    animation-fill-mode: both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus-visible,
.btn-hero-primary:active {
    background: #3b7014 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 112, 20,0.4);
    color: var(--white) !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus-visible,
.btn-hero-secondary:active {
    background: var(--white) !important;
    color: var(--dark-navy) !important;
}

/* ===========================
   FEATURES SECTION
   =========================== */

.features-section {
    background: var(--white);
    padding: 3rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #4d8c20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 22px;
    line-height: 25px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-muted);
    line-height: 16px;
    font-size: 12px;
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */

.how-it-works-section {
    background: var(--light-bg);
    padding: 5rem 0;
}

.section-badge {
    display: inline-block;
    /*background: var(--primary-color); */
    background: linear-gradient(135deg, #1a1a2e, #0f3460); /* Changed to black */
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 22px;
    line-height: 25px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 14px;
    line-height: 18px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.phone-mockup {
    position: relative;
    text-align: center;
}

.mockup-placeholder {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #1a1a2e, #0f3460); /* Changed to black */
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #34495e 100%);
    padding: 5rem 0!important;
}

.cta-box {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-title {
    font-size: 22px;
    line-height: 25px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 20px;
}

.btn-cta {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible,
.btn-cta:active {
    background: #3b7014 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 112, 20,0.4);
    color: var(--white) !important;
}

/* ===========================
   FEATURED OFFERS SECTION
   =========================== */

.featured-section {
    background: var(--white);
    padding: 5rem 0;
}

.offer-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.offer-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.offer-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.badge-hot {
    background: #4d8c20;
}

.badge-new {
    background: #28a745;
}

.offer-content {
    padding: 1.5rem;
}

.offer-title {
    font-size: 22px;
    line-height: 25px;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.offer-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.offer-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.offer-price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-section {
    background: var(--light-bg);
    padding: 5rem 0;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-form-wrapper .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(250,137,50,0.1);
}

/* ===========================
   FOOTER
   =========================== */

.main-footer {
    background: var(--dark-navy);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 90px;
    width: 190px;
    object-fit: contain;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 22px;
        line-height: 25px;
    }

    .btn-register {
        margin-left: 0;
        margin-top: 0.5rem;
    }

   

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 20px;
    }

    .cta-title {
        font-size: 20px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
}

/* ===========================
   AUTH PAGES (Login / Forgot Password / etc.)
   =========================== */

.auth-wrapper {
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-brand-panel {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #34495e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4d8c20);
    opacity: 0.18;
}

.auth-brand-panel::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.05;
}

.auth-brand-title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.auth-brand-subtitle {
    font-size: 13px;
    line-height: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 380px;
    position: relative;
    z-index: 1;
}

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--light-bg);
}

.auth-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
}

.auth-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4d8c20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin: 0 auto 1.25rem;
}

.auth-card h2 {
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-align: center;
}

.auth-card .auth-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    text-align: center;
}

/* MDB-style outline input: notched border + floating label (CSS-only, no MDB library) */
.auth-input-group {
    position: relative;
}

.auth-input-group i.auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    text-align: center;
    color: #adb5bd;
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none;
}

.auth-input-group .form-control {
    width: 100% !important;
    height: 30px !important;
    padding: 5px 14px 5px 37px !important;
    border: 1.5px solid #ced4da !important;
    border-radius: 10px !important;
    background: transparent !important;
    font-size: 13px !important;
    outline: none;
    transition: border-color 0.15s ease;
}

.auth-input-group .form-control.pwd-field {
    padding-right: 37px !important;
}

.auth-input-group .auth-toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #adb5bd;
    cursor: pointer;
    z-index: 2;
}

.auth-input-group .auth-toggle-password:hover {
    color: var(--primary-color);
}

.auth-input-group .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(250,137,50,0.1);
}

.auth-input-group label {
    position: absolute;
    top: 50%;
    left: 37px;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 4px;
    font-size: 0.95rem;
    color: #6c757d;
    background: transparent;
    pointer-events: none;
    transition: all 0.15s ease;
}

/* Notch: label floats onto the border line, gets the card's background to mask it */
.auth-input-group .form-control:focus + label,
.auth-input-group .form-control:not(:placeholder-shown) + label {
    top: 0;
    left: 34px;
    transform: translateY(-50%) scale(0.82);
    background: #fff;
    color: #3b7014;
    font-weight: 700;
}

.auth-input-group .form-control:not(:focus):not(:placeholder-shown) + label {
    color: #6c757d;
}

.btn-auth-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
}

.btn-auth-submit:hover {
    background: #3b7014;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 112, 20,0.3);
}

.btn-auth-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #3b7014;
}

.auth-card .form-check-input {
    width: 16px;
    height: 16px;
}

.auth-card .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-card .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(250,137,50,0.1);
}

.auth-links {
    font-size: 0.87rem;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}
.dash-panel .text-muted.small.mb-1 i, .card-text.text-muted.small.mb-1 i{
    color:#3b7014;
}
@media (max-width: 991px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        padding: 4rem 1.5rem 2.5rem 1.5rem;
        text-align: center;
    }

    .auth-brand-subtitle {
        margin: 0 auto;
    }
}

/* ===========================
   AUTH PAGES — wide single-card variant (Registration)
   =========================== */

.auth-form-panel-full {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    background: var(--light-bg);
}

.auth-card-wide {
    max-width: 640px;
}

.auth-select-group {
    position: relative;
}

.auth-select-group label {
    position: absolute;
    top: 0;
    left: 14px;
    transform: translateY(-50%) scale(0.82);
    transform-origin: left center;
    margin: 0;
    padding: 0 4px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6c757d;
    background: #fff;
    pointer-events: none;
    z-index: 2;
}

.auth-select-group select.form-select:focus + label,
.auth-select-group input.form-control:focus + label {
    color: #3b7014;
    font-weight: 700;
}

.auth-select-group select.form-select,
.auth-select-group input.form-control {
    height: 30px !important;
    padding: 5px 14px !important;
    border: 1.5px solid #ced4da !important;
    border-radius: 10px !important;
    font-size: 12px !important;
}

.auth-select-group select.form-select:focus,
.auth-select-group input.form-control:focus {
    color: #3b7014;
    font-weight: 700;
    box-shadow: 0 0 0 0.2rem rgba(250,137,50,0.1);
    outline: none;
}

/* Currency dropdown in the main nav. The auth-page notched floating-label
   style doesn't have room to breathe in a slim navbar (label clips/overlaps),
   so this is a simpler self-contained pill: icon embedded inside the box,
   vertically centered, with its own spacing so it doesn't crowd neighbors. */
.nav-currency-item {
    margin: 0 0.4rem;
}

.nav-currency-select {
    display: flex;
    align-items: center;
    height: 27px;
    width: 100px;
    padding: 0 7px;
    border-radius: 20px;
    background: #fff;
}

.nav-currency-select:focus-within {
    box-shadow: 0 0 0 0.15rem rgba(250,137,50,0.35);
}

.nav-currency-select i {
    color: var(--primary-color);
    font-size: 0.75rem;
    margin-right: 6px;
    flex-shrink: 0;
    pointer-events: none;
}

/* select sits inside the pill as a plain, borderless, transparent field —
   the icon and select are normal flex siblings (not overlapped/absolute),
   which avoids native <select> padding being ignored by some renderers. */
.nav-currency-select select.form-select {
    flex: 1;
    min-width: 0;
    height: 100%;
    line-height: 24px;
    padding: 2px 4px !important;
    border: none;
    background: transparent;
    font-size: 12px!important;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
}

.nav-currency-select select.form-select:focus {
    outline: none;
    box-shadow: none;
}

.auth-input-with-btn {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.auth-input-with-btn .auth-input-group {
    flex: 1;
}

.auth-otp-btn {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0 18px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.auth-otp-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
}

.auth-otp-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-otp-status {
    font-size: 0.82rem;
    margin-top: 0.4rem;
    color: var(--text-muted);
}

.btn-auth-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
