/* Основные стили */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    padding: 20px;
}

.auth-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    color: #ff5e00;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.auth-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Формы */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ff5e00;
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.2);
}

/* Кнопки */
.auth-button {
    background: linear-gradient(135deg, #ff5e00 0%, #ff8c42 100%);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: block;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.4);
}

/* Ссылки */
.auth-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-link {
    color: #ff5e00;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #ff8c42;
}

/* Страница подтверждения email */
.verification-info {
    text-align: center;
    color: white;
    line-height: 1.6;
}

.verification-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.verification-steps {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.verification-steps h3 {
    margin-bottom: 20px;
    color: #ff5e00;
    text-align: center;
}

.verification-steps ol {
    padding-left: 20px;
    margin: 0;
}

.verification-steps li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.verification-actions {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.verification-actions p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.resend-form {
    margin: 20px 0;
    text-align: center;
}

/* Анимации */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .auth-box {
        padding: 30px 25px;
        margin: 10px;
    }

    .auth-logo {
        font-size: 2rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .verification-steps {
        padding: 20px 15px;
    }

    .verification-icon {
        font-size: 3rem;
    }

    .auth-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* Стили для auth-section и auth-card */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    padding: 20px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 700px;
    min-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 30px;
}

/* Стили для alert сообщений */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Стили для кнопки auth-btn */
.auth-btn {
    background: linear-gradient(135deg, #ff5e00 0%, #ff8c42 100%);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.4);
}

/* Ссылки в auth-links */
.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-links a {
    color: #ff5e00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #ff8c42;
}

/* Адаптивность для новых стилей */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 25px;
        margin: 10px;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}

/* Стили для полей ввода в auth-form */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    color: white;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.auth-form input:focus {
    outline: none;
    border-color: #ff5e00;
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.auth-form label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.verification-info ul {
    padding-left: 20px;
    margin: 0;
}

.verification-info li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.auth-link-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.auth-link.secondary {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
}

.auth-link.secondary:hover {
    color: #ff5e00;
}