/* Pagini de autentificare și înregistrare */
.auth-container {
    max-width: 450px;
    margin: 80px auto 50px;
    padding: 0 20px;
}

.auth-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin-top: 20px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

/* Mesaje de eroare și succes */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 18px;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

/* Formulare */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.auth-form .input-wrapper {
    position: relative;
}

.auth-form .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.auth-form .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
}

.auth-form .toggle-password:hover {
    color: #238af5;
}

.auth-form input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafafa;
}

.auth-form input:focus {
    outline: none;
    border-color: #238af5;
    background: white;
    box-shadow: 0 0 0 3px rgba(35, 138, 245, 0.1);
}

.auth-form input::placeholder {
    color: #aaa;
}

/* Checkbox Remember me */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
}

.forgot-password {
    color: #238af5;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Buton submit */
.auth-form .btn-submit {
    width: 100%;
    padding: 14px;
    background: #238af5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-form .btn-submit:hover {
    background: #1a6fd1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 138, 245, 0.3);
}

.auth-form .btn-submit:active {
    transform: translateY(0);
}

/* Link-uri auxiliare (Am uitat parola) */
.auth-links {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password-link {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: #238af5;
}

.forgot-password-link i {
    margin-right: 5px;
}

/* Link către altă pagină */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #238af5;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Divider cu text */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #999;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 15px;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-box {
        padding: 30px 25px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .auth-form input {
        padding: 12px 12px 12px 40px;
    }
}
