body.login-bg {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: radial-gradient(circle at top, #235a62 0%, #111c29 55%, #070b11 100%);
    color: #e8edf2;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-header {
    text-align: center;
}

.login-header h1 {
    font-size: 2.4rem;
    margin-bottom: 6px;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: "Bahnschrift", "Segoe UI", "Trebuchet MS", sans-serif;
}

    .login-header h2 {
        font-size: 1.2rem;
        margin-top: 0;
        font-weight: 500;
        color: #2f9b79;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-family: "Bahnschrift", "Segoe UI", "Trebuchet MS", sans-serif;
    }

.login-container {
    background: rgba(16, 22, 33, 0.95);
    color: #e8edf2;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    margin: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(12px);
    border-top: 6px solid #0f232a;
}

.styled-login {
    width: 330px;
    padding: 12px 14px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1rem;
    background-color: #0f1722;
    color: #e8edf2;
    display: block;
}

.styled-login:focus {
    border-color: #2d9175;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 145, 117, 0.2);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #b8c2cf;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.form-group img {
    position: absolute;
    right: 10px;
    top: 35px;
}

.form-group .field-validation-error,
.form-group .field-validation-valid {
    margin-top: 6px;
    display: block;
}


.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    color: #b8c2cf;
    font-size: 0.9rem;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
    align-self: stretch;
}

.checkbox-group input {
    margin: 0;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.checkbox-group label {
    margin: 0;
    line-height: 18px;
    white-space: normal;
}

.variable-button {
    width: 100%;
    background: linear-gradient(135deg, #1f4f57, #3ddc97);
    border: none;
    padding: 3px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.variable-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(45, 212, 191, 0.25);
}

.login-footer {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 18px;
    color: #94a3b8;
}

    .login-footer a {
        color: #2d9175;
        text-decoration: none;
    }

.login-footer a:hover {
    text-decoration: underline;
}

.login-brand {
    margin-top: 18px;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.login-brand-text {
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #194b5a, #235a62, #286366, #2e6e6b, #32756f, #3e8979, #45957e, #4ca084, #52a988, #55af8b, #5ab88f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.login-brand-subtitle {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.message-box {
    background: #101b2b;
    color: #e8edf2;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.message-box .styled-login {
    margin-bottom: 15px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.modal-buttons .variable-button {
    flex: 1;
    text-align: center;
}

.reset-password-modal {
    max-width: 480px;
    width: 100%;
    padding: 24px;
}

#reset-password .modal-wrap {
    width: 100%;
}

.reset-password-header {
    text-align: center;
    margin-bottom: 18px;
}

.reset-password-header h4 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 600;
}

.reset-password-header p {
    margin: 0;
    font-size: 0.95rem;
    color: #b8c2cf;
}

.reset-password-body .form-group {
    margin-bottom: 12px;
    width: 100%;
}

#reset-password .form-group {
    margin-bottom: 0;
}

.reset-password-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.reset-password-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.reset-password-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 42px;
    padding: 0 16px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    min-width: 0;
}

.reset-password-button.cancel {
    background: #233040;
    color: #d3dae3;
}

.reset-email-input {
    border-radius: 10px;
    font-size: 1rem;
    margin-top: 0;
}

.reset-password-modal .form-group {
    margin-bottom: 16px;
}

.reset-password-modal .modal-buttons {
    align-items: center;
    width: 100%;
}

#reset-password .modal-buttons {
    justify-content: center;
}

@media (max-width: 480px) {
    .reset-password-actions {
        flex-direction: column;
        align-items: center;
    }

    .reset-password-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 22px;
    }

    .login-header h1 {
        font-size: 2rem;
    }

    .login-header h2 {
        font-size: 1rem;
    }
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    /* Schimbă #2e2e2e cu culoarea fundalului tău */
    -webkit-box-shadow: 0 0 0 1000px #0f1722 inset !important;
    /* Schimbă culoarea textului dacă este necesar */
    -webkit-text-fill-color: white !important;
}