:root {
    --bg-dark: #000000;
    --accent: #ffffff;
    --input-bg: #eff6ff; /* Светло-голубой как на скрине */
    --text-gray: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }

body {
    background: var(--bg-dark);
    color: white;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* ЛЕВАЯ ПАНЕЛЬ */
.left-panel {
    flex: 1.2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.video-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

.logo { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; z-index: 2; }
.logo-icon { width: 24px; height: 24px; background: #3b82f6; border-radius: 50%; }
.tagline { font-size: 13px; color: #888; max-width: 300px; line-height: 1.5; z-index: 2; }

/* ПРАВАЯ ПАНЕЛЬ */
.right-panel {
    flex: 0.8;
    background: #050507;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 340px;
    padding: 20px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 { font-size: 32px; font-weight: 500; margin-bottom: 25px; text-align: center; }

.input-group { margin-bottom: 12px; }

input {
    width: 100%;
    padding: 16px 20px;
    background: var(--input-bg);
    border: none;
    border-radius: 14px;
    color: #111;
    font-size: 14px;
    outline: none;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: black;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.switch-text {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: var(--text-gray);
}
.switch-text a { color: white; text-decoration: none; font-weight: 600; }

/* Уведомления */
.alert {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
}
.alert-error { background: rgba(239, 68, 68, 0.1); color: #fecaca; border: 1px solid rgba(239, 68, 68, 0.2); }
.alert-success { background: rgba(34, 197, 94, 0.1); color: #bbf7d0; border: 1px solid rgba(34, 197, 94, 0.2); }
.alert-info { background: rgba(59, 130, 246, 0.1); color: #bfdbfe; border: 1px solid rgba(59, 130, 246, 0.2); }

@media (max-width: 900px) {
    .left-panel { display: none; }
    .right-panel { flex: 1; }
}