/* Основные стили страницы */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    padding: 20px;
}

.auth-container {
    max-width: 500px;
    width: 100%;
}

.auth-content-wrapper {
    background-color: #fff;
    border: 1px solid #cacaca;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-top: -230px;
}

/* Заголовки */
.auth-title {
    text-align: left;
    margin: 0 0 15px 5px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.auth-subtitle {
    text-align: left;
    margin: 0 0 25px 5px;
    color: #555;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

/* Форма */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Группы полей */
.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.auth-form-label:after {
    content: " *";
    color: #e72630;
}

.auth-form-input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.auth-form-input:focus {
    border-color: #e72630;
    outline: none;
    box-shadow: 0 0 0 2px rgba(231, 38, 48, 0.2);
}

/* Кнопка */
.auth-btn-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}

.auth-submit-btn {
    background-color: #e72630;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
    font-weight: 500;
    min-width: 180px;
}

.auth-submit-btn:hover {
    background-color: #c51e26;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ссылки */
.auth-links-container {
    margin-top: 25px;
    text-align: center;
}

.auth-link {
    color: #e72630;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #c51e26;
    text-decoration: underline;
}

/* Информационные блоки */
.auth-info-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.auth-info-box p {
    margin: 0 0 10px 0;
    color: #495057;
    font-weight: 500;
}

.auth-info-box ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    color: #6c757d;
}

.auth-info-box li {
    margin-bottom: 5px;
    position: relative;
}

.auth-info-box li::before {
    content: '•';
    color: #e72630;
    position: absolute;
    left: -15px;
    font-weight: bold;
}

.auth-success-box {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #155724;
}

.auth-success-box p {
    margin: 0;
    font-weight: 500;
}

/* Сообщения об ошибках */
.auth-error-message {
    color: #e72630;
    font-size: 14px;
    margin-top: 5px;
    background-color: #fdf2f2;
    padding: 8px 12px;
    border-radius: 5px;
    border-left: 3px solid #e72630;
}

/* Адаптивность */
@media (max-width: 768px) {
    .auth-content-wrapper {
        padding: 30px 20px;
        margin-top: 0;
    }
    
    .auth-title {
        font-size: 20px;
    }
    
    .auth-subtitle {
        font-size: 14px;
    }
    
    .auth-submit-btn {
        min-width: 160px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .auth-content-wrapper {
        padding: 25px 15px;
    }
    
    .auth-title {
        font-size: 18px;
    }
    
    .auth-submit-btn {
        min-width: 140px;
        padding: 10px 16px;
        font-size: 14px;
    }
}