/* Общие настройки стиля «умиротворенный хай-тек» */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0b0d13;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Медленные фоновые неоновые сферы (эффект бесконечного дыхания) */
.bg-glow-1, .bg-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
    animation: pulse 12s infinite ease-in-out;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: #00f2fe; /* Бирюзовый */
    top: -10%;
    left: -10%;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background: #9b51e0; /* Фиолетовый */
    bottom: -15%;
    right: -10%;
    animation-delay: -6s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.12; }
    50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.22; }
}

/* Карточка авторизации */
.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: rgba(20, 24, 33, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 24px;
    padding: 20px 30px; /* Сделали меньше сверху и снизу (было 40px) */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: border-color 0.5s ease;
}}

.auth-card:hover {
    border-color: rgba(155, 81, 224, 0.3);
}

h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #00f2fe, #9b51e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 32px;
}

/* Поля ввода */
.input-group {
    margin-bottom: 12px; /* Уменьшили отступ между полями в два раза (было 24px) */
    display: flex;
    flex-direction: column;
}}

.input-group.hidden {
    display: none;
}

label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 500;
}

input {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #00f2fe;
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

/* Мягкая неоновая кнопка */
.neon-btn {
    width: 100%;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: #0b0d13;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.neon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.4);
}

/* Переключатель и ссылки */
.auth-toggle {
    margin-top: 24px;
    text-align: center;
}

.auth-toggle a {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-toggle a:hover {
    color: #9b51e0;
}

/* Уведомления */
.message {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}
.message.success { color: #10b981; }
.message.error { color: #ef4444; }
.hidden { display: none !important; }
.label-row { display: flex; justify-content: space-between; align-items: center; }
.checkbox-label { font-size: 12px; color: #00f2fe; text-transform: none; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.checkbox-label input { cursor: pointer; width: auto; margin: 0; }
.neon-btn.intense { background: linear-gradient(135deg, #9b51e0 0%, #7028b5 100%); box-shadow: 0 4px 20px rgba(155, 81, 224, 0.25); }
input[type="date"] { color-scheme: dark; }
/* Стили для личного кабинета (Шаг 13) */
.profile-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    padding: 16px;
}

.profile-card {
    background: rgba(20, 24, 33, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(155, 81, 224, 0.2);
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 28px;
}

/* Место под будущее фото */
.avatar-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(30, 41, 59, 0.6);
    border: 2px dashed rgba(0, 242, 254, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    color: #00f2fe;
    font-size: 12px;
    letter-spacing: 1px;
}

.status-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 6px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Строки анкеты */
.info-section {
    background: rgba(11, 13, 19, 0.5);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.info-section h3 {
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #94a3b8;
    width: 30%;
}

.info-value {
    color: #f1f5f9;
    width: 50%;
    word-break: break-all;
    padding-right: 8px;
}

/* Индикаторы приватности */
.privacy-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    text-align: center;
    width: 20%;
    font-weight: 600;
}

.badge-locked {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-public {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

/* Кнопка выхода */
.logout-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    box-shadow: none;
    text-decoration: none;
    display: block;
    text-align: center;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}
