/* ==========================================================
   СТОІРНКИ АВТОРИЗАЦІЇ (ТЕМНА ВЕРСІЯ WEB 3.0)
   ========================================================== */
.auth-page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 20px;
}

.auth-glass-panel {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.15) 0%, rgba(75, 0, 130, 0.2) 35%, rgba(10, 10, 10, 0.4) 70%, rgba(255, 51, 153, 0.05) 100%) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(230, 0, 126, 0.05) !important;
}

.auth-glass-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    z-index: -1;
}

.auth-title-main {
    margin-bottom: 30px;
    font-family: var(--font-H2);
    text-align: center;
    color: #ffffff !important;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    margin-top: 0;
}

/* ================= ІНПУТИ (ТЕМНІ, ЯК НА СКРІНШОТАХ) ================= */
.auth-input-wrapper { position: relative; margin-bottom: 15px; display: flex; align-items: center; }

/* Іконки всередині інпутів (ТЕПЕР БІЛІ) */
.auth-input-icon { 
    position: absolute; 
    left: 18px; 
    width: 18px; 
    opacity: 0.8; 
    color: #ffffff !important; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 2; 
}

/* Основний стиль для ВСІХ полів вводу (з іконками і без) */
.auth-input, .auth-dark-input { 
    width: 100%; 
    height: 50px; 
    box-sizing: border-box; 
    background: rgba(20, 10, 25, 0.6) !important; /* Той самий темний фон */
    border: 1px solid rgba(255, 255, 255, 0.1) !important; 
    border-radius: 12px; 
    color: #ffffff !important; /* БІЛИЙ ТЕКСТ */
    font-family: var(--font-H4, sans-serif); 
    font-size: 13px; 
    font-weight: 400; 
    outline: none; 
    transition: 0.3s; 
}
/* Відступ для полів з іконками */
.auth-input { padding: 0 20px 0 45px; }
/* Відступ для полів без іконок */
.auth-dark-input { padding: 0 20px; margin-bottom: 20px; }

.auth-input::placeholder, .auth-dark-input::placeholder { color: rgb(255, 255, 255); font-weight: 600; }
.auth-input:focus, .auth-dark-input:focus { border-color: #E6007E !important; box-shadow: 0 0 10px rgba(230, 0, 126, 0.3); }

.auth-label { display: block; font-size: 13px; font-weight: 800; color: white; margin-bottom: 8px; text-align: left; }

/* ================= ЛІНКИ ТА РОЗДІЛЮВАЧ ================= */
.auth-utils { display: flex; justify-content: space-between; align-items: center; margin-top: -5px; margin-bottom: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.8); font-weight: 600; }
.auth-utils a { color: #E6007E; text-decoration: none; font-weight: 700; }

.auth-divider { margin: 25px 0; text-align: center; position: relative; }
.auth-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.1); z-index: 1; }
.auth-divider span { position: relative; z-index: 2; background: #18051a; padding: 2px 10px; font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 800; letter-spacing: 1px; border-radius: 10px; }

/* ================= КНОПКИ ================= */
.auth-btn-row { margin-top: 25px; display: flex; gap: 15px; align-items: stretch; height: 50px; }

/* Прозора кнопка з рожевим контуром */
.auth-btn-outline { flex: 1; background: transparent; color: #E6007E; border: 2px solid #E6007E; border-radius: 15px; display: flex; justify-content: center; align-items: center; font-size: 15px; font-weight: 800; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: 0.3s; }
.auth-btn-outline:hover { background: rgba(230, 0, 126, 0.1); transform: translateY(-2px); }

/* Соціальні кнопки */
.auth-social-row { display: flex; gap: 15px; }
.auth-social-btn { flex: 1; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); cursor: pointer; color: white; transition: 0.3s; }
.auth-social-btn:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.auth-social-text { font-size: 14px; font-weight: 700; color: white; }

/* ================= АНІМАЦІЯ КРОКІВ ================= */
.auth-step.hidden { display: none; }
.auth-step.active { display: block; animation: fadeUpStep 0.4s ease forwards; }
@keyframes fadeUpStep { 0% { opacity: 0; transform: translateY(15px); } 100% { opacity: 1; transform: translateY(0); } }

/* ================= ФІКС БРАУЗЕРНОГО АВТОЗАПОВНЕННЯ (AUTOFILL) ================= */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover, 
.auth-input:-webkit-autofill:focus, 
.auth-dark-input:-webkit-autofill,
.auth-dark-input:-webkit-autofill:hover, 
.auth-dark-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important; /* Змушуємо текст залишатися білим */
    -webkit-box-shadow: 0 0 0px 1000px #150a1a inset !important; /* Заливаємо фон темним, щоб вбити білий колір Chrome */
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Зберігаємо твою красиву рамку */
    caret-color: white !important; /* Курсор теж має бути білим */
    border-radius: 12px !important;
    transition: background-color 5000s ease-in-out 0s; /* Секретний хак, щоб фон не "стрибав" */
}