/* static/accounts/css/password_reset.css */

.password-reset-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 32px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e5e7eb;
}

.password-reset-container h2 {
    margin-bottom: 24px;
    color: #1f2937;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
}

.password-reset-container p {
    margin-bottom: 24px;
    color: #6b7280;
    text-align: center;
    font-size: 15px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.button-password-reset {
    width: 100%;
    background: #4361ee;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button-password-reset:hover:not(:disabled) {
    background-color: #3730a3;
    transform: translateY(-1px);
}

.button-password-reset:active:not(:disabled) {
    transform: translateY(0);
}

.button-password-reset:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Алёрты */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.back-to-login {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.back-to-login a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-to-login a:hover {
    color: #3730a3;
    text-decoration: underline;
}

.helptext {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.errorlist {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    padding-left: 0;
    list-style: none;
}