/* Core Design Tokens */
:root {
    --bg-dark: #080c14;
    --card-bg: rgba(13, 20, 35, 0.55);
    --card-border: rgba(255, 107, 107, 0.15);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Warm Retro Sushi Palette */
    --salmon: #ff6b6b;
    --salmon-glow: rgba(255, 107, 107, 0.45);
    --wasabi: #2bcbba;
    --wasabi-glow: rgba(43, 203, 186, 0.45);
    --gold: #fdcb6e;
    
    --sidebar-bg: rgba(8, 12, 20, 0.7);
    --font-heading: 'Zen Maru Gothic', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Lighting */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.18;
    pointer-events: none;
}

.glow-salmon {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--salmon) 0%, transparent 75%);
    top: -100px;
    left: -100px;
    animation: floatGlow1 20s infinite alternate ease-in-out;
}

.glow-teal {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--wasabi) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: floatGlow2 24s infinite alternate ease-in-out;
}

@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 80px) scale(1.1); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, -60px) scale(1.15); }
}

/* Layout Container */
.app-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    max-width: 1500px;
    margin: 0 auto;
    padding: 1.5rem;
    gap: 1rem;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--sidebar-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-emoji {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px var(--salmon-glow));
    animation: pulseSushi 3s infinite ease-in-out;
}

@keyframes pulseSushi {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--salmon), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(43, 203, 186, 0.08);
    border: 1px solid rgba(43, 203, 186, 0.2);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--wasabi);
    font-weight: 600;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--wasabi);
    box-shadow: 0 0 8px var(--wasabi);
    animation: blinkIndicator 1.5s infinite alternate;
}

@keyframes blinkIndicator {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.sound-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sound-toggle-btn:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--salmon);
    transform: rotate(15deg);
}

/* Workspace Panels */
.main-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.5rem;
    flex-grow: 1;
    min-height: 0; /* allows proper inner scroll */
}

/* Glassmorphic Widget base */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Left Panel: Catalog list */
.catalog-panel {
    gap: 1.25rem;
    overflow-y: auto;
}

.name-customizer {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 107, 107, 0.3);
    border-radius: 18px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.name-customizer label {
    font-size: 0.72rem;
    color: var(--salmon);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.name-input-group {
    display: flex;
    gap: 0.5rem;
}

.name-input-group input {
    flex-grow: 1;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
}

.name-input-group button {
    padding: 0.45rem 1rem;
    background: var(--salmon);
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.name-input-group button:hover {
    background: #ff5252;
    box-shadow: 0 0 10px var(--salmon-glow);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--salmon);
}

.menu-tag {
    font-size: 0.72rem;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    color: var(--salmon);
    font-weight: 600;
}

.menu-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Conveyor Belt List animation */
.conveyor-belt {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.menu-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    transition: var(--transition);
}

.menu-item-card:hover {
    background: rgba(255, 107, 107, 0.04);
    border-color: rgba(255, 107, 107, 0.2);
    transform: translateX(5px);
}

.menu-item-emoji {
    font-size: 1.8rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.menu-item-info {
    flex-grow: 1;
}

.menu-item-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
}

.menu-item-info p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.price-tag {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(253, 203, 110, 0.1);
    color: var(--gold);
    border: 1px solid rgba(253, 203, 110, 0.25);
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 0.3rem;
}

.chef-quote {
    margin-top: auto;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.quote-text {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.4;
}

.quote-author {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wasabi);
    margin-top: 0.4rem;
    text-align: right;
}

/* Right Panel: Chat Widget */
.chat-panel {
    padding: 0;
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

.chef-avatar-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
}

.chef-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--salmon), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px var(--salmon-glow);
}

.chef-status-online {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wasabi);
    border: 2px solid var(--bg-dark);
    position: absolute;
    bottom: 0;
    right: 0;
}

.chef-details h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.chef-details p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Message Feed */
.chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.message-bubble {
    display: flex;
    gap: 0.85rem;
    max-width: 82%;
    animation: slideInMessage 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes slideInMessage {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0px 20px 20px 20px;
    padding: 1rem 1.25rem;
    line-height: 1.5;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.chef-msg .message-avatar {
    background: rgba(255, 107, 107, 0.1);
    color: var(--salmon);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.chef-msg .message-content {
    border-left: 3px solid var(--salmon);
}

.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.user-msg .message-avatar {
    background: rgba(43, 203, 186, 0.1);
    color: var(--wasabi);
    border: 1px solid rgba(43, 203, 186, 0.2);
}

.user-msg .message-content {
    background: rgba(43, 203, 186, 0.03);
    border-radius: 20px 0px 20px 20px;
    border: 1px solid rgba(43, 203, 186, 0.1);
    border-right: 3px solid var(--wasabi);
}

/* Structured Interactive Cards inside Messages */
.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.action-choice-btn {
    padding: 0.5rem 0.95rem;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.action-choice-btn:hover {
    background: var(--salmon);
    color: #fff;
    box-shadow: 0 4px 12px var(--salmon-glow);
    transform: translateY(-1px);
}

/* Plan Selection Cards Grid */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
    width: 100%;
}

.plan-select-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 0.85rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.plan-select-card:hover {
    border-color: var(--wasabi);
    background: rgba(43, 203, 186, 0.05);
    transform: translateY(-2px);
}

.plan-select-card h5 {
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-select-card p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0.5rem;
}

.plan-select-card .price {
    font-size: 0.88rem;
    color: var(--gold);
    font-weight: bold;
}

/* Dynamic Recharge Receipt inside chat */
.mini-receipt {
    background: rgba(0, 0, 0, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.receipt-total {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding-top: 0.4rem;
    font-weight: bold;
    color: var(--gold);
}

/* Typing Indicator Bubble */
.typing-indicator-container {
    display: flex;
    gap: 0.85rem;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.typing-bubble {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.85rem 1.25rem;
    border-radius: 0px 20px 20px 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-bubble span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted);
    animation: bounceTyping 1.2s infinite ease-in-out;
}

.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounceTyping {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Input Form Box */
.chat-input-area {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.chat-input-area input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0.85rem 1.25rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--salmon);
    background: rgba(255, 107, 107, 0.02);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.1);
}

.send-btn {
    padding: 0.85rem 1.5rem;
    background: var(--salmon);
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px var(--salmon-glow);
}

.send-btn:hover {
    background: #ff5252;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--salmon-glow);
}

/* Modals System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 12, 20, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content {
    width: 90%;
    max-width: 460px;
    padding: 2.25rem 2rem;
    border-radius: 28px;
    position: relative;
    transform: scale(0.92);
    transition: var(--transition);
    border-color: rgba(255, 107, 107, 0.25);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--salmon);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--salmon);
    margin-bottom: 0.5rem;
}

.modal-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* Bill receipt details */
.bill-receipt {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Payment Methods Grid */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.pay-method-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.pay-method-card input {
    display: none;
}

.pay-method-card:hover, .pay-method-card.active {
    border-color: var(--salmon);
    background: rgba(255, 107, 107, 0.05);
}

.pay-emoji {
    font-size: 1.4rem;
}

.pay-name {
    font-size: 0.78rem;
    font-weight: 600;
}

/* Input Fields styling */
label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

input[type="text"], input[type="password"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: var(--wasabi);
    box-shadow: 0 0 8px var(--wasabi-glow);
}

.form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

.form-group.full {
    flex: none;
    width: 100%;
}

.upi-input-group, .card-input-group {
    margin-bottom: 1.5rem;
}

.hidden {
    display: none !important;
}

/* Buttons inside Modals */
.primary-glow-btn {
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--salmon), var(--gold));
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--salmon-glow);
    transition: var(--transition);
}

.primary-glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.full-width {
    width: 100%;
}

/* Success Card details */
.success-card {
    text-align: center;
    border-color: rgba(43, 203, 186, 0.3);
}

.success-card h2 {
    color: var(--wasabi);
}

.success-details {
    background: rgba(43, 203, 186, 0.03);
    border: 1px solid rgba(43, 203, 186, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Dynamic Brand Success Animation */
.success-brand-animation {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 3px solid var(--brand-color, var(--wasabi));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(43, 203, 186, 0.2);
    animation: floatingBrand 3s infinite ease-in-out, pulseGlow 2s infinite alternate ease-in-out;
    transition: var(--transition);
}

.success-brand-animation svg {
    width: 60px;
    height: 60px;
    transition: var(--transition);
}

@keyframes floatingBrand {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.05), inset 0 0 15px rgba(255, 255, 255, 0.02);
    }
    100% {
        box-shadow: 0 0 35px var(--brand-color, var(--wasabi)), inset 0 0 15px var(--brand-color, var(--wasabi));
    }
}

/* Modal Brand Header and Logo */
.modal-brand-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.modal-brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.modal-brand-logo svg {
    width: 36px;
    height: 36px;
}

/* Custom Scrollbar for Chat & Specials */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--salmon);
}

/* Responsive Grid adaptation */
@media (max-width: 950px) {
    .main-layout { grid-template-columns: 1fr; }
    .catalog-panel { display: none; } /* hide specials on mobile to focus on chatbot */
    .app-wrapper { padding: 0.5rem; height: 100vh; }
    .app-header { border-radius: 12px; }
    .glass-card { border-radius: 16px; }
}

/* ==========================================
   AUTHENTICATION GATEWAY AND OTP SYSTEM STYLES
   ========================================== */

/* Full Screen Auth Center */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100vw;
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    transition: var(--transition);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 2.5rem 2.25rem;
    border-radius: 28px;
    border-color: rgba(255, 107, 107, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    text-align: center;
    animation: authPulseIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes authPulseIn {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.auth-brand {
    margin-bottom: 2rem;
}

.auth-logo {
    font-size: 2.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--salmon-glow));
    animation: logoGlow 3s infinite alternate ease-in-out;
}

@keyframes logoGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 8px var(--salmon-glow)); }
    100% { transform: scale(1.08); filter: drop-shadow(0 0 16px var(--salmon-glow)); }
}

.auth-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--salmon), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-brand p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Tabs Switcher */
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 0.25rem;
    margin-bottom: 2rem;
}

.auth-tab-btn {
    background: transparent;
    border: none;
    padding: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab-btn:hover {
    color: #fff;
}

.auth-tab-btn.active {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: var(--salmon);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.1);
}

/* Fields & Forms */
.auth-screen {
    animation: screenFadeIn 0.3s ease-out;
}

@keyframes screenFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-field-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.input-field-group label {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* OTP Inputs */
.auth-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.otp-inputs-row {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.otp-box {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: var(--transition);
}

.otp-box:focus {
    border-color: var(--salmon);
    box-shadow: 0 0 10px var(--salmon-glow);
    background: rgba(255, 107, 107, 0.02);
}

.timer-row {
    margin-bottom: 1.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.resend-otp-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.78rem;
    transition: var(--transition);
}

.resend-otp-btn:hover {
    text-decoration: underline;
    color: #fff;
}

.text-back-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 1.25rem;
    transition: var(--transition);
}

.text-back-btn:hover {
    color: #fff;
}

/* Simulated SMS Toast Banner */
.sms-notification-banner {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 380px;
    background: rgba(13, 20, 35, 0.95);
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 0.95rem 1.25rem;
    z-index: 1000;
    box-shadow: 0 12px 32px rgba(253, 203, 110, 0.25);
    animation: smsSlideDown 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transition: opacity 0.3s ease;
}

@keyframes smsSlideDown {
    0% { top: -80px; opacity: 0; }
    100% { top: 1.25rem; opacity: 1; }
}

.sms-banner-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sms-icon {
    font-size: 1.8rem;
}

.sms-text strong {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    color: var(--gold);
    text-transform: uppercase;
}

.sms-text p {
    font-size: 0.85rem;
    color: #fff;
    margin-top: 0.15rem;
    font-weight: 500;
}

/* Cheeky Warning Toast */
.sms-notification-banner.cheeky-error-banner {
    border-color: var(--salmon) !important;
    box-shadow: 0 12px 32px rgba(255, 118, 117, 0.3) !important;
    animation: smsSlideDown 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), toastShake 0.45s ease-in-out !important;
}

.sms-notification-banner.cheeky-error-banner .sms-text strong {
    color: var(--salmon) !important;
}

@keyframes toastShake {
    0%, 100% { transform: translateX(-50%); }
    15%, 45%, 75% { transform: translateX(-52%); }
    30%, 60%, 90% { transform: translateX(-48%); }
}

/* Payment Processing & OTP States */
.payment-processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    text-align: center;
}

.spinner-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 216, 246, 0.2);
    border-top-color: var(--wasabi);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.otp-verification {
    animation: fadeIn 0.3s ease;
    padding: 1rem 0;
}

.otp-verification label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.otp-verification input {
    width: 100%;
    padding: 0.85rem;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 4px;
}

