/* ========================================
   LOGIN / AUTH COMPONENT
   Estratto da accounts/login.html
   ======================================== */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    background: white;
    border-radius: 20px;
    padding: 50px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.15);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon-large {
    font-size: 80px;
    margin-bottom: 20px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d2d2d;
    font-size: 14px;
}

.auth-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.auth-form .btn-full {
    width: 100%;
    margin-top: 10px;
}

.auth-form .alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-form .alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-box {
        padding: 30px 25px;
    }
}

/* ========================================
   PASSWORD CHANGE FORM (dashboard context)
   ======================================== */

.password-change-form {
    max-width: 600px;
    margin: 0 auto;
}

.password-change-form .messages-wrapper {
    margin-bottom: 20px;
}

.password-change-form .alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.password-change-form .alert-success {
    background: #d1fae5;
    border-left: 4px solid #10b981;
}

.password-change-form .alert-error,
.password-change-form .alert-danger {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
}

.password-change-form .alert-info {
    background: #e0f2fe;
    border-left: 4px solid #0ea5e9;
}
