/* Общие настройки */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #121212;
    --bg-card: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --gold: #d4af37;
    --gold-light: #f9e0a2;
    --gold-hover: #b8860b;
    --border-light: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

/* Основной контейнер */
.register-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start;
    padding: 20px 0;
}

/* Боковые колонки */
.register-sidebar {
    flex: 1;
    background: rgba(30, 30, 30, 0.7);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.register-sidebar:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-color: var(--gold);
}

.register-sidebar h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.register-sidebar h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
    border-radius: 3px;
}

/* Списки */
.benefit-list, .security-list {
    list-style: none;
    padding: 0;
}

.benefit-list li, .security-list li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
    font-size: 1.05rem;
    position: relative;
    padding-left: 30px;
}

.benefit-list li::before, .security-list li::before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.benefit-list li:last-child, .security-list li:last-child {
    border-bottom: none;
}

.security-info p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.security-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 20px;
}

/* Центральная карточка регистрации */
.register-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.register-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.register-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 1px;
}

/* Пометка об обязательных полях */
.required-note {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.required-note p {
    color: var(--gold);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Пометка для необязательного поля */
.optional-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-style: italic;
}

/* Согласие с политикой */
.policy-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 25px 0;
    padding: 15px;
    background: rgba(34, 34, 34, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.policy-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
}

.policy-agreement label {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

.policy-link {
    color: var(--gold);
    text-decoration: underline;
    font-weight: 500;
}

.policy-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

button:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
}

.login-link a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

.alert {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .register-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .register-sidebar, .register-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .register-card {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.8rem;
    }

    input, button {
        padding: 12px;
        font-size: 1rem;
    }

    .register-sidebar h3 {
        font-size: 1.3rem;
    }

    .benefit-list li, .security-list li {
        font-size: 1rem;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .register-card {
        padding: 25px 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    input, button {
        padding: 10px;
        font-size: 0.95rem;
    }

    .register-sidebar h3 {
        font-size: 1.2rem;
    }

    .benefit-list li, .security-list li {
        font-size: 0.95rem;
    }
}