/* --- GLOBAL SETTINGS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f1110; /* लैपटॉप का बैकग्राउंड (Dark) */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* --- MOBILE CONTAINER (PHONE VIEW) --- */
.mobile-wrapper {
    width: 100%;
    max-width: 420px; /* मोबाइल की चौड़ाई */
    height: 100vh;
    max-height: 900px;
    background: #000000;
    position: relative;
    overflow: hidden; /* इसके बाहर कुछ नहीं दिखेगा */
    color: white;
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.2);
    border: 1px solid #1e3a29;
}

/* --- GRADIENT OVERLAY (BACKGROUND DESIGN) --- */
/* यह वो लेयर है जो बटन्स को रोक रही थी, अब इसे ठीक कर दिया गया है */
.mobile-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(0,0,0,0) 60%);
    
    /* FIX: यह बहुत जरुरी है - ताकि क्लिक इसके आर-पार जा सकें */
    pointer-events: none; 
    z-index: 0; 
}

/* --- SCREENS LOGIC (VERY IMPORTANT) --- */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    
    /* Default में सब छुपा रहेगा */
    display: none !important; 
    
    flex-direction: column;
    background-color: #0f1110; /* Solid Background taaki piche ka na dikhe */
    
    /* FIX: स्क्रीन को ऊपर लाया गया है */
    z-index: 10; 
    overflow-y: auto;
}

/* जो स्क्रीन Active होगी, वो दिखेगी */
.screen.active {
    display: flex !important;
    z-index: 100; /* Active स्क्रीन सबसे ऊपर रहेगी */
    animation: fadeIn 0.3s ease-in-out;
}

/* Success Popup को सेंटर में लाने के लिए */
#screen-verify-success.active {
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- TYPOGRAPHY & ICONS --- */
h1, h2, h3, h4 {
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-area {
    margin-top: 60px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}

.logo-icon {
    font-size: 60px;
    color: #4ade80;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

/* --- BUTTONS & INPUTS --- */
.role-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 5; /* बटन्स को ऊपर रखा */
}

/* Role Button (Owner/Yatri) */
.btn-role {
    background: #111814;
    border: 1px solid #1e3a29;
    padding: 20px;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
    
    /* FIX: बटन को क्लिक करने योग्य बनाना */
    cursor: pointer;
    position: relative;
    z-index: 200; 
}

.btn-role i {
    color: #4ade80;
    font-size: 24px;
}

.btn-role:hover {
    background: #1e3a29;
    border-color: #4ade80;
    transform: scale(1.02); /* थोडा सा एनीमेशन */
}

.form-group {
    margin-bottom: 20px;
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #a0aec0;
}

input {
    width: 100%;
    padding: 15px;
    background: #111814;
    border: 1px solid #2d4a3e;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    outline: none;
    z-index: 200;
    position: relative;
}

input:focus {
    border-color: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

.btn-primary {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #000;
    font-weight: bold;
    font-size: 16px;
    
    /* FIX: Primary Button Clicks */
    cursor: pointer;
    position: relative;
    z-index: 200;
    box-shadow: 0 5px 15px rgba(56, 239, 125, 0.3);
}

.btn-secondary {
    margin-top: 20px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #4ade80;
    color: #4ade80;
    border-radius: 6px;
    cursor: pointer;
    z-index: 200;
    position: relative;
}

/* --- HEADERS --- */
.header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.back-btn {
    font-size: 20px;
    cursor: pointer;
    z-index: 200;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.logout-btn {
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    z-index: 200;
}

/* --- CARDS & CONTENT --- */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.yatra-item {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.price {
    color: #4ade80;
    font-weight: bold;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;