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

:root {
    --primary: #138808; /* India Green */
    --primary-light: #4CAF50;
    --primary-dark: #0A5D04;
    --accent: #FF8F00; /* Vibrant Orange matching the new hero */
    --bg-color: #FFF3E0; /* Light Orange/Cream */
    --surface: #FFFFFF;
    --text-primary: #3E2723;
    --text-secondary: #5D4037;

    --border-color: #E8EDE8;
    --error: #D32F2F;
    --success: #138808;

    --shadow-sm: 0 4px 12px rgba(46, 125, 50, 0.05);
    --shadow-md: 0 8px 24px rgba(46, 125, 50, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Partner Theme (Purple & Gold) */
    --partner-primary: #512DA8;
    --partner-primary-dark: #311B92;
    --partner-bg: #F3E5F5;
    --partner-surface: #FFFFFF;
    --partner-accent: #FFD600;

    /* Delivery Partner Theme (Deep Teal & Amber) */
    --delivery-primary: #00796B;
    --delivery-primary-dark: #004D40;
    --delivery-bg: #E0F2F1;
    --delivery-accent: #FFC107;

    /* Status Colors */
    --status-pending: #FFC107;
    --status-accepted: #2196F3;
    --status-preparing: #9C27B0;
    --status-out: #FF9800;
    --status-delivered: #4CAF50;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.screen-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: var(--surface);
    position: relative;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    background: var(--surface);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.screen.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.screen.active {
    display: flex !important;
    opacity: 1;
    z-index: 10;
}

/* Splash & Background Slideshows */
.splash-slideshow, .bg-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.splash-img-bg, .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Ensures the artwork is centered */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}


.splash-img-bg.active, .bg-img.active {
    opacity: 1; /* High opacity for an ultra-clear, vivid view */
}



/* Desi Pattern Overlay - Lightened */
.splash-overlay, .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.desi-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08; /* Subtler pattern */
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    z-index: 3;
    pointer-events: none;
}

.screen-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4); /* Stronger shadow for readability on light areas */
}


/* Logo Flash Animation */
.logo-flash {
    animation: logo-burst 3s ease-out forwards;
}

@keyframes logo-burst {
    0% {
        transform: scale(0.8);
        filter: brightness(0) invert(1) drop-shadow(0 0 0px var(--accent));
        opacity: 0;
    }
    30% {
        transform: scale(1.1);
        filter: brightness(2) invert(1) drop-shadow(0 0 30px var(--accent));
        opacity: 1;
    }
    60% {
        transform: scale(1);
        filter: brightness(1.2) invert(1) drop-shadow(0 0 10px var(--accent));
    }
    100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 4px 15px rgba(0,0,0,0.3));
    }
}



/* Language Button List */
.language-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.lang-btn {
    background: #F0F4F0;
    border: 2px solid transparent;
    padding: 18px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--bg-color);
    border-color: var(--primary);
}

/* Dashboard & Home Components */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 20px;
}

.location-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Partner Specific Components */
.partner-mode .btn-primary {
    background-color: var(--partner-primary);
}

.partner-mode .btn-primary:hover {
    background-color: var(--partner-primary-dark);
}

.partner-mode .section-title {
    color: var(--partner-primary-dark);
}

.partner-mode .location-chip {
    background: var(--partner-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Payment Entry & Radio Cards */
.payment-entry-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.payment-entry-card.active {
    border-color: var(--partner-primary);
    background: var(--partner-bg);
}

.radio-gold {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
}

.payment-entry-card.active .radio-gold {
    border-color: var(--partner-primary);
    background: var(--partner-accent);
}

/* Translate Toggle */
.translate-btn {
    background: #F3E5F5;
    color: var(--partner-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--partner-primary);
}


.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    padding: 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    margin: 4px 0;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.order-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    width: 90%;
    max-width: 400px;
    background: var(--partner-primary);
    color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(81, 45, 168, 0.4);
    z-index: 2000;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.order-alert.show {
    transform: translateX(-50%) translateY(0);
}

.entry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-input {
    width: 80px;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: var(--radius-sm);
    text-align: right;
    font-weight: 600;
}

.partner-accent-chip {
    background: var(--partner-accent);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 16px;
    color: var(--primary-dark);
}

.partner-mode .section-title {
    color: var(--partner-primary-dark);
}

/* Chat Styles */
.chat-container {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
}

.msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    position: relative;
    line-height: 1.4;
}

.msg.customer {
    background: #E8F5E9;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg.vendor {
    background: var(--partner-bg);
    color: var(--partner-primary-dark);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.msg-time {
    font-size: 10px;
    opacity: 0.6;
    margin-top: 4px;
    text-align: right;
}

.chat-input-area {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}


.order-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.method-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.store-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-img {
    width: 50px;
    height: 50px;
    background: #FF9800;
    border-radius: var(--radius-sm);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.status-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: #e8f5e9;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 16px;
    align-items: center;
    padding: 20px;
    margin: 12px 0 24px;
    background: linear-gradient(145deg, #fffaf2, #ffffff 60%);
    border: 1px solid rgba(19, 136, 8, 0.12);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.hero-card h2 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.hero-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-card-logo {
    width: 100%;
    border-radius: 20px;
    background: white;
    padding: 10px;
    box-shadow: var(--shadow-sm);
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.trust-strip {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.trust-item,
.public-info-card,
.contact-panel {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.trust-item {
    padding: 14px 16px;
}

.trust-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.trust-item span {
    color: var(--text-secondary);
    font-size: 14px;
}

.public-info-grid {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.public-info-card {
    padding: 18px;
}

.public-info-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.contact-panel {
    margin-top: 16px;
    padding: 20px;
}

.contact-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.contact-btn {
    text-align: center;
    text-decoration: none;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 70px;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding: 0 10px;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition);
}

.footer-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 32px;
}

/* Status Badges */
.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-pending { background: var(--status-pending); color: #3E2723; }
.badge-accepted { background: var(--status-accepted); color: white; }
.badge-preparing { background: var(--status-preparing); color: white; }
.badge-out { background: var(--status-out); color: white; }
.badge-delivered { background: var(--status-delivered); color: white; }

/* Restaurant Specifics */
.restaurant-card {
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.restaurant-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.restaurant-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #EEE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.restaurant-info { flex: 1; }
.restaurant-name { font-weight: 700; font-size: 16px; }
.restaurant-meta { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

/* Menu List */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-color);
    padding: 4px 12px;
    border-radius: 20px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    color: var(--primary);
}

/* Delivery Partner UI */
.delivery-mode { background: var(--delivery-bg); }
.delivery-mode .btn-primary { background: var(--delivery-primary); }
.delivery-mode .btn-primary:hover { background: var(--delivery-primary-dark); }
.delivery-mode .top-bar .location-chip { background: var(--delivery-primary); color: white; }

.assignment-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 8px solid var(--delivery-primary);
    margin-bottom: 20px;
}

.tracking-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

/* UPI Styles */
.upi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.upi-app-btn {
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upi-app-btn:hover {
    border-color: var(--primary);
    background: var(--bg-color);
}

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

.nav-item i {
    font-size: 20px;
}



.header {
    text-align: center;
    margin-bottom: 40px;
}

.header svg {
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(46, 125, 50, 0.2));
}

.header img.main-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
}

.hero-logo,
.login-logo {
    display: block;
    width: 140px;
    max-width: 58vw;
    margin: 0 auto 16px;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
    background: rgba(255, 255, 255, 0.95);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-copy {
    max-width: 340px;
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.92) !important;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 4px 0 12px;
}

.hero-feature {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.brand-badge {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
    color: white;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

.hidden-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.header p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-wrapper {
    transition: var(--transition);
}

.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2px 16px;
    transition: var(--transition);
    background: #FAFAFA;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary);
    background: #FFF;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.country-code {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid var(--border-color);
}
/* Recording Pulse Animation */
.recording-circle {
    position: relative;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse-anim 2s infinite;
}

@keyframes pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}


/* Search Engine Styles */
.search-container {
    margin: 16px 0 24px;
    position: relative;
}

#restaurant-search {
    width: 100%;
    padding: 16px 20px 16px 48px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    background: #FAFAFA;
    transition: var(--transition);
    outline: none;
    box-shadow: var(--shadow-sm);
}

#restaurant-search:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.search-icon-inside {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-secondary);
    pointer-events: none;
}

/* Menu Gallery Styles */
.menu-gallery-container {
    margin-top: 24px;
    margin-bottom: 24px;
    width: 100%;
}

.menu-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 4px 16px;
    scroll-snap-type: x mandatory;
}

.menu-gallery::-webkit-scrollbar {
    height: 4px;
}

.menu-gallery::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.menu-img-card {
    flex: 0 0 200px;
    height: 280px;
    background: #EEE;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.menu-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-label-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-weight: 600;
    font-size: 12px;
}

/* Category Cards (Home) */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.category-card {
    background: white;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 40px;
    width: 80px;
    height: 80px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary-light);
    color: white;
}

.category-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}

/* Custom Selection Dropdowns */
.select-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.select-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.custom-select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #FAFAFA;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.custom-select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 45px;
    font-size: 12px;
    color: var(--text-secondary);
    pointer-events: none;
}


input[type="tel"],
input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 32px;
}

.otp-digit {
    width: 60px;
    height: 60px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 24px !important;
    font-weight: 700 !important;
    background: #FAFAFA !important;
    transition: var(--transition);
}

.otp-digit:focus {
    border-color: var(--primary);
    background: #FFF !important;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    margin-top: 12px;
}

.footer-info {
    text-align: center;
    margin-top: 32px;
}

.resend-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.resend-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.resend-link.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

.error-message {
    color: var(--error);
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Delivery & Payment Components */
.delivery-option {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    margin-bottom: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.delivery-option.active {
    border-color: var(--primary);
    background: #F1F8F1;
}

.radio-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
}

.delivery-option.active .radio-check {
    border-color: var(--primary);
    background: var(--primary);
}

.delivery-option.active .radio-check::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.time-chip {
    padding: 16px;
    background: #FAFAFA;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.time-chip:hover, .time-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.payment-card.active {
    border-color: var(--primary);
    background: #F1F8F1;
    box-shadow: var(--shadow-sm);
}

.payment-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: var(--bg-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-card.active .payment-icon {
    background: var(--primary);
    color: white;
}

@media (min-width: 768px) {
    .screen-container {
        max-width: 540px;
        border-radius: 32px;
        overflow: hidden;
        box-shadow: 0 30px 90px rgba(0, 0, 0, 0.12);
    }

    .hero-features {
        margin-bottom: 18px;
    }
}

@media (max-width: 520px) {
    body {
        padding: 0;
    }

    .screen-container {
        max-width: 100%;
    }

    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-card-logo {
        max-width: 220px;
        margin: 0 auto;
    }
}
