/* 1. Global Sozlamalar */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

body {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    /* Flex faqat asosiy konteyner markazda turishi uchun, 
       lekin admin panelda buni bekor qilamiz */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. Admin Panel va Katta Sahifalar uchun Body moslashuvi */
body.admin-body {
    display: block !important;
    overflow-y: auto !important;
    padding: 20px;
}

/* 3. Glassmorphism Kartochkasi */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.container { 
    width: 100%; 
    max-width: 480px; 
    padding: 15px; 
}

/* 4. Input va Select elementlar */
.input-field {
    width: 100%; 
    padding: 15px; 
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px; 
    color: white; 
    font-size: 16px; 
    outline: none;
    transition: 0.3s;
}

.input-field:focus {
    border-color: #007aff;
    background: rgba(255, 255, 255, 0.15);
}

.input-field option { 
    background: #1e293b; 
    color: white; 
}

/* 5. Tugmalar */
.btn-main {
    width: 100%; 
    padding: 16px; 
    border-radius: 18px; 
    border: none;
    font-weight: 600; 
    cursor: pointer; 
    color: white; 
    transition: 0.3s;
    background: #007aff;
}

.btn-main:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-option {
    width: 100%; 
    padding: 15px; 
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px; 
    color: white; 
    cursor: pointer;
    text-align: left; 
    font-size: 16px; 
    transition: 0.2s;
}

.btn-option:hover { background: rgba(255, 255, 255, 0.15); }

/* 6. Effektlar (To'g'ri/Xato) */
.correct { 
    background: rgba(46, 204, 113, 0.4) !important; 
    border-color: #2ecc71 !important; 
}

.wrong { 
    background: rgba(231, 76, 60, 0.4) !important; 
    border-color: #e74c3c !important; 
}

/* 7. Jadval Dizayni (Admin uchun) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

/* 8. Skrollbar dizayni */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }