@font-face {
    font-family: 'humoyfont'; 
    src: url('./shrift/shrift.ttf') format('truetype'); 
    font-weight: normal; 
    font-style: normal; 
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'humoyfont', sans-serif; 
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 14px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #4584CB;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo img {
    width: 100px;
}

/* Umumiy stil */
.main-body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Top-panel konteyneri */
.top-panel {
    display: flex;
    justify-content: flex-end; /* O'ngga qarab joylashtirish */
    align-items: center; /* Vertikal markazlashtirish */
    padding: 10px 20px;
    //background-color: #333; /* Header fon rangi */
    color: white;
}

/* O'ng burchakdagi kontent */
.right {
    display: flex; /* Ikki tasvir yonma-yon joylashadi */
    align-items: center; /* Tasvirlarni vertikal markazlashtirish */
}

/* Iconlar uchun stil */
.operator-icon img, .my-icon img {
    width: 35px;
    height: 35px;
    cursor: pointer;
    background: transparent;
    margin-left: 15px; /* Ikki tasvir orasidagi bo'shliq */
}

/* Asosiy formalar */
.auth-section {
    margin-top: 120px; /* Headerdan bo'shliq qo'shish */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 380px;
}

.auth-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.auth-form.hidden {
    display: none;
}

.auth-form h2 {
    color: #4584CB;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 13px;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
}

.auth-form input:focus {
    border-color: #4584CB;  /* Bosilganda chegara rangi */
    background-color: #f0f8ff;  /* Bosilganda fon rangi */
    outline: none;  /* Fokustagi outline (chegara)ni olib tashlash */
}

.auth-form .btn {
    width: 100%;
    padding: 10px;
    background-color: #4584CB;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.auth-form .btn:hover {
    background-color: #336ea8;
}

.forgot-password, .toggle-link {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
}

.forgot-password a, .toggle-link a {
    color: #4584CB;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password a:hover, .toggle-link a:hover {
    text-decoration: underline;
}

/* reCAPTCHA va tugmalar orasidagi masofa */
.auth-form .g-recaptcha {
    margin-bottom: 10px; /* reCAPTCHA va tugmalar orasidagi masofani kichraytirdik */
}

.auth-form .btn {
    margin-top: 15px; /* Tugmalarni pastga siljitish */
}

/* "Забыл пароль?" linkining pastdagi masofasi */
.auth-form .forgot-password {
    margin-bottom: 2px; /* "Забыл пароль?" linkining pastga tushishi */
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: #4584CB;
    color: white;
    padding: 10px;
    border-radius: 15px 15px 0 0;
    font-size: 13px;
}
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px; /* Matn va checkbox orasidagi masofa */
    margin-bottom: 15px; /* Captcha va Meni esla o'rtasidagi probel */
}

.remember-me label {
    font-size: 14px; /* Matn kattaligi */
    color: #333; /* Matn rangi */
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 20px; /* Checkbox o'lchami */
    height: 20px;
    margin: 0;
    background-color: #fff; /* Orqa fon oq rang */
    border: 1px solid #ddd; /* Oddiy chekka */
    border-radius: 4px; /* Chekka yumaloq */
    cursor: pointer; /* Pointer holati */
    position: relative;
    transition: all 0.3s ease; /* Animatsiya effektini qo'shish */
    appearance: none; /* Brauzer ko'rinishini olib tashlash */
    -webkit-appearance: none;
}

/* Bosilgan holatdagi checkbox dizayni */
.remember-me input[type="checkbox"]:checked {
    background-color: #4584CB; /* Bosilgan holatda fon rangi */
    border-color: #4584CB; /* Border rangi ham #4584CB bo'lishi kerak */
}

/* Pseudo-element yordamida checkmark qo'shish */
.remember-me input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}