/**
 * Frontend Layout Styles - OMFAI
 * Global styles for header, navigation, footer, and common components
 */

:root {
    --primary: #FF8200;
    --primary-light: #FFB066;
    --primary-dark: #994E00;
    --secondary: #0f172a;
    --accent: #994E00;
    --bg-body: #FFEFDE;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --slate-100: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:
        0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glass: rgba(255, 255, 255, 0.95);
    --radius: 12px;
    --max-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:
        "Gotham",
        "Montserrat",
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Noto Color Emoji";
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER BASE --- */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    transition: 0.3s all ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 44px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain;
}

.logo .logo-scrolled {
    display: none !important;
}

header.scrolled .logo .logo-normal {
    display: none !important;
}

header.scrolled .logo .logo-scrolled {
    display: block !important;
    height: 50px !important; /* Buat sedikit lebih besar saat text hilang */
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 900;
    color: white;
    margin: 0;
    line-height: 1;
}

.logo-text span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NEW HEADER DESIGN (Premium & Modern) --- */
.new-header {
    background: transparent;
    padding: 15px 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: white !important;
    padding: 8px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

header.scrolled .new-header {
    padding: 0;
}

header.scrolled .logo-text {
    display: none !important;
}

header.scrolled .utility-link,
header.scrolled .btn-user-profile,
header.scrolled .nav-link-new {
    color: #1e293b !important;
}

header.scrolled .utility-link i {
    color: var(--primary) !important;
}

header.scrolled .btn-login-new {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

header.scrolled .header-bottom-row {
    display: none !important;
}

header.is-not-home {
    background: #FFEFDE !important; /* Light Orange Background */
    padding: 10px 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(255, 130, 0, 0.1);
}

header.is-not-home .logo-text h1 {
    color: var(--primary) !important;
}

header.is-not-home .utility-link,
header.is-not-home .btn-user-profile,
header.is-not-home .nav-link-new {
    color: #475569 !important; /* Dark Slate for contrast */
}

header.is-not-home .nav-link-new:hover, 
header.is-not-home .nav-link-new.active {
    color: var(--primary) !important;
}

header.is-not-home .utility-link i {
    color: var(--primary) !important;
}

header.is-not-home .logo img {
    filter: none;
}

header.is-not-home .logo-text span {
    color: #64748b !important;
}

header.is-not-home .btn-login-new {
    border: 1px solid #FFD8A8;
    background: white;
    color: var(--primary) !important;
}

header.is-not-home .header-bottom-row {
    border-top: 1px solid rgba(255, 130, 0, 0.1);
}

.header-top-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

header.scrolled .header-top-row {
    margin-bottom: 5px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.top-utilities {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 20px;
}

.utility-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
    white-space: nowrap;
}

header.scrolled .utility-link {
    color: #1e293b;
}

.utility-link:hover {
    color: var(--primary);
}

.utility-link i {
    font-size: 16px;
    color: var(--primary);
}

.flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* Auth Buttons New */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
}

.btn-login-new {
    background: white;
    color: #1e293b;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-login-new:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    color: var(--primary);
}

.btn-register-new {
    background: var(--primary);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 130, 0, 0.3);
}

.btn-register-new:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 130, 0, 0.4);
}

/* Main Nav Links New */
.header-bottom-row {
    display: flex;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}



.main-nav-links {
    display: flex;
    gap: 30px;
}

.nav-link-new {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    position: relative;
    padding-bottom: 10px;
}

.nav-link-new:hover, .nav-link-new.active {
    color: var(--primary);
}

.nav-link-new.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
}



.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.btn-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}



/* Scroll Effect */
header.scrolled .top-bar {
    margin-top: -40px;
    opacity: 0;
}

header.scrolled .main-nav {
    padding: 10px 0;
    background: var(--primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

/* Mobile Utility */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--secondary);
}

.mobile-header-search {
    display: none;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1024px) {

    /* NEW MOBILE MENU DRAWER */
    .nav-links-wrapper {
        display: none;
    }

    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 10001;
        /* Above drawer */
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        color: #ffffff;
    }

    .top-bar {
        display: none;
    }

    .main-nav {
        background: var(--primary);
        padding: 10px 0;
        box-shadow: 0 3px 14px rgba(255, 107, 53, 0.22);
    }

    .nav-container {
        gap: 10px;
        padding: 0 14px;
    }

    .nav-container .logo {
        display: none;
    }

    .mobile-header-search {
        display: flex;
        align-items: center;
        flex: 1;
        height: 44px;
        min-width: 0;
        background: var(--bg-body);
        border-radius: 10px;
        padding: 0 14px;
        gap: 10px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    }

    .mobile-header-search i {
        color: #111827;
        font-size: 17px;
        flex: 0 0 auto;
    }

    .mobile-header-search input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--text-main);
        font: inherit;
        font-size: 14px;
        font-weight: 700;
    }

    .mobile-header-search input::placeholder {
        color: #94a3b8;
        font-weight: 600;
    }

    header.scrolled .main-nav {
        background: var(--primary);
        padding: 8px 0;
    }

    body {
        padding-bottom: 72px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        height: 66px;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        background: var(--bg-body);
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.08);
    }

    .mobile-bottom-link {
        min-width: 0;
        color: #475569;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.1;
        transition: 0.2s ease;
    }

    .mobile-bottom-link i {
        font-size: 20px;
        line-height: 1;
    }

    .mobile-bottom-link span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .mobile-bottom-link.active,
    .mobile-bottom-link:hover {
        color: var(--primary);
    }

    .mobile-menu-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(86vw, 430px);
        background: #d94f22;
        padding: 84px 0 26px;
        z-index: 10000;
        /* Extreme Z-Index */
        overflow-y: auto;
        box-shadow: 8px 0 30px rgba(15, 23, 42, 0.14);
        transform: translateX(-105%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-menu-drawer.active {
        transform: translateX(0);
        box-shadow:
            8px 0 30px rgba(15, 23, 42, 0.14),
            0 0 0 1000px rgba(15, 23, 42, 0.62);
        /* Backdrop */
    }

    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-height: 100%;
    }

    .mobile-nav-link {
        width: 100%;
        min-height: 48px;
        padding: 10px 24px;
        font-family: inherit;
        font-size: 15px;
        font-weight: 700;
        color: #ffffff;
        border: 1px solid transparent;
        transition: 0.2s;
        background: transparent;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        background: rgba(255, 255, 255, 0.14);
        color: #ffffff;
        border-color: transparent;
    }

    .mobile-nav-link i {
        width: 22px;
        font-size: 16px;
        text-align: center;
        flex: 0 0 22px;
    }

    .mobile-menu-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.22);
        margin: 10px 0;
    }

    .mobile-icon-blue,
    .mobile-icon-orange,
    .mobile-icon-red,
    .mobile-icon-teal,
    .mobile-icon-purple,
    .mobile-icon-yellow {
        color: #fff7ed;
    }
}

@media (max-width: 420px) {
    .mobile-nav-link {
        min-height: 46px;
        padding: 9px 22px;
        font-size: 15px;
        gap: 14px;
    }

    .mobile-nav-link i {
        font-size: 16px;
    }
}

/* Desktop-only elements handled inside media queries or specific classes */

/* --- FOOTER --- */
/* --- FOOTER V2 --- */
footer {
    padding: 80px 20px 0;
    background: transparent;
    margin-top: 80px;
}

.footer-main-wrapper {
    background: #0b1120;
    color: white;
    border-radius: 40px;
    padding: 90px 0 0;
    overflow: visible;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-brand-img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.brand-text h3 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.brand-text p {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.about-desc {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Payment Grid */
.payment-partners-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.payment-item {
    background: white;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.payment-item span {
    font-size: 10px;
    font-weight: 900;
    color: #0b1120;
}

.payment-item i {
    color: #0b1120;
    font-size: 18px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-follow {
    margin-top: 40px;
}

/* App Promo */
.promo-illustration {
    position: relative;
    padding-top: 0;
    margin-top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.char-img {
    width: 120%;
    max-width: 190px;
    margin: 0 auto -5px;
    display: block;
    z-index: 1;
    position: relative;
    transform: none;
}

.promo-card {
    background: white;
    border-radius: 24px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    margin-top: 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.promo-content h5 {
    color: #0b1120;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.app-badges img {
    height: 40px;
}

.promo-qr {
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

/* Bottom Bar */
.footer-bottom-bar {
    background: var(--primary);
    padding: 20px 0;
    margin-top: 40px;
    border-radius: 0 0 40px 40px;
}

.footer-bottom-bar p {
    margin: 0;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* Floating WhatsApp */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-floating:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .promo-card {
        margin-top: 40px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .promo-content h5 {
        max-width: 100%;
    }
    
    .social-follow {
        text-align: center;
        margin-top: 40px;
    }

    .social-icons {
        justify-content: center;
    }

    .char-img {
        width: 100% !important;
        max-width: 160px !important;
        margin: 0 auto !important;
        transform: translateY(30px) !important;
        z-index: 5;
    }
}

/* --- STANDARD UI PATTERNS --- */
.content-section {
    max-width: var(--max-width);
    margin: 100px auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.text-muted-minimal {
    color: #64748b;
    font-size: 16px;
    margin-top: 8px;
    font-weight: 500;
    line-height: 1.6;
}

/* --- GLOBAL HERO BANNER --- */
.hero-banner {
    background-size: cover;
    background-position: center;
    min-height: 450px; /* Ditingkatkan dari 400px */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 0;
    position: relative;
    padding-top: 220px; /* Ditingkatkan dari 160px */
}

.hero-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0 20px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .hero-banner {
        height: 220px;
        /* More compact on mobile */
    }

    .hero-banner h2 {
        font-size: 1.75rem !important;
        /* Smaller font on mobile */
        padding: 0 15px;
    }
}

/* Standard Hero Pattern - Minimalist Polish */
.hero-clean {
    background: var(--bg-body);
    padding: 120px 24px 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 0;
    /* Let layout handle top spacing if needed, but usually 80px for fixed header */
    padding-top: 220px;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title-main {
    font-size: 52px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-desc-main {
    font-size: 19px;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Minimal Card Standard - Clean & Lite */
.minimal-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 2px 4px -2px rgba(0, 0, 0, 0.02);
}

.minimal-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: #e2e8f0;
}

.minimal-body {
    padding: 32px;
}

.item-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

@media (max-width: 992px) {
    .hero-title-main {
        font-size: 42px;
    }

    .content-section {
        margin: 80px auto;
    }
}

@media (max-width: 768px) {
    .content-section {
        margin: 60px auto;
        padding: 0 20px;
    }

    .hero-clean {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-title-main {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-desc-main {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .section-header h3 {
        font-size: 26px;
    }
}

/* --- LOGIN MODAL PREMIUM STYLING --- */
.login-modal-content {
    border-radius: 32px !important;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}

.btn-close-custom {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #f1f5f9;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    z-index: 10;
    transition: 0.3s;
}

.btn-close-custom:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.login-modal-header {
    padding: 30px 0 10px;
}

.login-logo-circle {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #f1f5f9;
}

.login-logo-circle img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: none !important;
}

.login-modal-header h2 {
    font-weight: 900;
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 0;
}

.social-login-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-btn {
    width: 60px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.social-btn img {
    height: 20px;
}

.social-btn i {
    font-size: 20px;
    color: #1e293b;
}

.social-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 15px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.login-divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.form-group-new label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 4px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 10px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    transition: 0.3s;
}

.input-with-icon input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.btn-toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
}

.form-check-new {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-new input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-check-new label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.forgot-password-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.btn-signin-full {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    margin-top: 10px;
}

.btn-signin-full:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.register-link-modal {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.login-footer p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* --- BUTTON SIGN IN OUTLINE (Figma Exact) --- */
.btn-signin-outline {
    width: 100%;
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-signin-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

/* FIX FLATPICKR Z-INDEX */
.flatpickr-calendar {
    z-index: 99999 !important;
}
