.account-page-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('/assets/images/lqs2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.account-left-panel {
    position: fixed;
    top: 0; left: 0;
    width: 400px;
    height: 100vh;
    background: linear-gradient(120deg, rgba(255,255,255,0.65) 80%, rgba(255,255,255,0.45) 100%);
    box-shadow: 2px 0 32px 0 rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(2px);
}

@media (max-width: 700px) {
    .account-left-panel {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
        background: rgba(255,255,255,0.75);
        backdrop-filter: none;
    }
}

.account-box {
    width: 100%;
    max-width: 340px;
    padding: 40px 28px 32px 28px;
    background: rgba(255,255,255,0.90);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-box h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 24px;
    color: #1a2a3a;
    letter-spacing: 1px;
}

.account-box .form-label {
    font-weight: 500;
    color: #1a2a3a;
    margin-bottom: 4px;
}

.account-box .form-control {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.2s;
}

.account-box .form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 2px rgba(25,135,84,0.15);
}

.account-box .btn-success {
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    background: linear-gradient(90deg, #1976d2 80%, #2196f3 100%);
    border: none;
    box-shadow: 0 2px 8px 0 rgba(33,150,243,0.08);
    color: #fff;
}

.account-box .btn-success:hover {
    background: linear-gradient(90deg, #2196f3 80%, #1976d2 100%);
    color: #fff;
}

.account-box .text-danger {
    font-size: 0.95rem;
}

.account-box .form-check-label {
    font-size: 1rem;
    color: #1a2a3a;
}

.account-box .text-decoration-none {
    color: #1976d2;
    font-weight: 500;
}

.account-box .text-decoration-none:hover {
    text-decoration: underline;
    color: #0d47a1;
}

.account-box p {
    margin-top: 18px;
    font-size: 1rem;
    color: #1a2a3a;
}

.account-box a {
    transition: color 0.2s;
}

/* Pentru Cloudflare și validări */
.account-box .cf-turnstile {
    margin-bottom: 12px;
}

.account-box .float-end {
    float: right;
    margin-bottom: 8px;
}

.change-password-card {
    background: rgba(255,255,255,0.93);
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(33,150,243,0.13);
    border: none;
    overflow: hidden;
}

.change-password-card .card-header {
    background: linear-gradient(90deg, #1976d2 80%, #2196f3 100%);
    color: #fff;
    border-bottom: none;
    border-radius: 22px 22px 0 0;
    padding: 32px 24px 18px 24px;
    text-align: center;
}

.change-password-card .card-header h3 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.change-password-card .card-body {
    padding: 32px 28px 24px 28px;
}

.change-password-card .form-label {
    font-weight: 500;
    color: #1976d2;
    margin-bottom: 6px;
}

.change-password-card .form-control {
    border-radius: 10px;
    border: 1px solid #bcdffb;
    background: #f8fafc;
    font-size: 1.05rem;
    padding: 12px 14px;
    box-shadow: none;
    transition: border-color 0.2s;
}

.change-password-card .form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(33,150,243,0.10);
}

.change-password-card .btn-primary {
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    background: linear-gradient(90deg, #1976d2 80%, #2196f3 100%);
    border: none;
    box-shadow: 0 2px 8px 0 rgba(33,150,243,0.08);
    color: #fff;
    transition: background 0.2s;
}

.change-password-card .btn-primary:hover {
    background: linear-gradient(90deg, #2196f3 80%, #1976d2 100%);
    color: #fff;
}

.change-password-card .text-danger {
    font-size: 0.97rem;
    margin-top: 2px;
}

.account-theme-toggle {
    position: relative;
    z-index: 3;
}

[data-bs-theme="dark"] .account-page-bg {
    filter: brightness(0.45);
}

[data-bs-theme="dark"] .account-left-panel {
    background: linear-gradient(120deg, rgba(18, 21, 29, 0.82) 80%, rgba(18, 21, 29, 0.68) 100%);
    box-shadow: 2px 0 32px 0 rgba(0, 0, 0, 0.55);
}

[data-bs-theme="dark"] .account-box {
    background: rgba(26, 29, 35, 0.92);
    box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .account-box h2,
[data-bs-theme="dark"] .account-box .form-label,
[data-bs-theme="dark"] .account-box .form-check-label,
[data-bs-theme="dark"] .account-box p {
    color: #e1e5ec;
}

[data-bs-theme="dark"] .account-box .form-control {
    background: #1f2229;
    border: 1px solid #3a3f46;
    color: #e9ecef;
}

[data-bs-theme="dark"] .account-box .form-control::placeholder {
    color: #a4adbd;
}

[data-bs-theme="dark"] .account-box .text-decoration-none {
    color: #8cc5ff;
}

[data-bs-theme="dark"] .change-password-card {
    background: rgba(26, 29, 35, 0.95);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .change-password-card .card-header {
    background: linear-gradient(90deg, #125fa6 80%, #1b76c9 100%);
}

[data-bs-theme="dark"] .change-password-card .form-label {
    color: #8cc5ff;
}

[data-bs-theme="dark"] .change-password-card .form-control {
    background: #1f2229;
    border: 1px solid #3a3f46;
    color: #e9ecef;
}

[data-bs-theme="dark"] .account-box .btn-success,
[data-bs-theme="dark"] .change-password-card .btn-primary {
    box-shadow: 0 4px 18px 0 rgba(17, 120, 206, 0.45);
}
