/* Stiluri pentru [mm_dashboard] și portalul profesorului — resetăm box-sizing local */
.mm-dashboard,
.mm-dashboard *,
.msp-portal-profesor,
.msp-portal-profesor * {
    box-sizing: border-box;
}

.mm-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
    width: 100%;
}

/* Header de bun venit + butoane de navigare */
.mm-dashboard-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mm-bun-venit-rand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mm-bun-venit-rand img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.mm-bun-venit {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.mm-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mm-btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    color: #2d2d2d !important;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.mm-btn-nav:hover {
    background: #e6e8eb;
}

.mm-btn-deconectare {
    background: #fdecea;
    color: #b32d2e !important;
}

.mm-btn-deconectare:hover {
    background: #fbdad7;
}

.mm-bara-inapoi {
    margin-bottom: 16px;
}

.mm-link-inapoi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.mm-link-inapoi:hover {
    color: #2d2d2d !important;
    text-decoration: underline;
}

.mm-notificari-wrap {
    position: relative;
}

.mm-notificari-buton {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1;
}

.mm-notificari-buton:hover {
    background: #e6e8eb;
}

.mm-notificari-contor {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #d63638;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 999px;
    min-width: 16px;
    text-align: center;
}

.mm-notificari-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    z-index: 100;
    text-align: left;
}

.mm-notificari-dropdown.mm-notificari-deschis {
    display: block;
}

.mm-notificari-titlu {
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
}

.mm-notificari-gol {
    padding: 16px;
    color: #888;
    font-size: 13px;
    margin: 0;
}

.mm-notificare-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    color: #2d2d2d !important;
}

.mm-notificare-item:last-child {
    border-bottom: none;
}

.mm-notificare-item:hover {
    background: #f9f9f9;
}

.mm-notificare-necitita {
    background: #f5faff;
}

.mm-notificare-item-titlu {
    font-weight: 600;
    font-size: 13px;
}

.mm-notificare-item-mesaj {
    font-size: 12px;
    color: #555;
}

.mm-notificare-item-data {
    font-size: 11px;
    color: #999;
}

.mm-banner-asteptare {
    background: #fffbea;
    border: 1px solid #f5d78e;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.mm-banner-asteptare-titlu {
    margin: 0 0 8px;
    font-weight: 700;
    color: #7a5c00;
    font-size: 14px;
}

.mm-banner-asteptare-lista {
    margin: 0 0 8px 22px;
    padding: 0;
    font-size: 13px;
    color: #5c4600;
}

.mm-banner-asteptare-nota {
    margin: 0;
    font-size: 12px;
    color: #8a6d00;
}

.mm-stats-rand {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.mm-stat-mica {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px 24px;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mm-stat-mica-numar {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.mm-stat-mica-eticheta {
    display: block;
    color: #888;
    font-size: 13px;
    margin-top: 2px;
}

.mm-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    padding: 28px;
    width: 100%;
}

.mm-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mm-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #dce6ff);
    font-size: 26px;
}

.mm-header-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mm-nume-cursant {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.mm-meta {
    margin: 4px 0;
    color: #555;
    font-size: 14px;
}

/* Pattern etichetă (sus, neagră, bold) / valoare (jos, gri deschis) */
.mm-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mm-stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1a1a1a;
}

.mm-stat-value {
    font-size: 15px;
    color: #8a8f98;
    font-weight: 500;
}

.mm-varsta {
    color: #b0b4bb;
}

/* Instrumente — mini-carduri, nu doar text */
.mm-instrumente-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.mm-instrument-card {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid #eef0f3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mm-nivel-badge {
    display: inline-block;
    background: #fff4e0;
    color: #9a6700 !important;
    border-radius: 6px;
    padding: 2px 10px;
    width: fit-content;
    font-weight: 600 !important;
    font-size: 13px;
}

/* Contracte / Evenimente — acum tab-uri, nu panouri expandabile */

.mm-contracte-count {
    background: #eef2ff;
    color: #2d6cdf;
    border-radius: 999px;
    padding: 1px 10px;
    font-size: 12px;
}

.mm-contracte-list {
    margin-top: 12px;
}

/* Tab-uri (Contracte / Evenimente) */
.mm-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}

.mm-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 4px;
    margin-right: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mm-tab-btn:hover {
    color: #555;
}

.mm-tab-btn.mm-tab-activ {
    color: #2d6cdf;
    border-bottom-color: #2d6cdf;
}

.mm-tab-count {
    background: #eef2ff;
    color: #2d6cdf;
    border-radius: 999px;
    padding: 1px 9px;
    font-size: 11px;
}

.mm-tab-btn:not(.mm-tab-activ) .mm-tab-count {
    background: #f1f1f1;
    color: #999;
}

.mm-tab-panel {
    padding-top: 12px;
}

.mm-contract {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 14px;
}

.mm-contract:last-child {
    border-bottom: none;
}

.mm-contract-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.mm-contract-icon {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1.5;
}

.mm-contract-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mm-contract-nume {
    font-weight: 500;
    word-break: break-word;
}

.mm-contract-detalii {
    color: #888;
    font-size: 12px;
}

.mm-eveniment-status-mare {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
}

.mm-status-rosu {
    color: #b32d2e;
}

.mm-status-portocaliu {
    color: #b26a00;
}

.mm-contract-status {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 24px;
}

.mm-status-valabil {
    color: #2a8a3e;
}

.mm-status-expirat {
    color: #b32d2e;
}

.mm-link-pdf {
    color: #2d6cdf;
    text-decoration: underline;
    font-size: 13px;
    font-weight: 500;
}

.mm-link-pdf:hover {
    color: #1c56c2;
}

.mm-acte-aditionale {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mm-act-rand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

.mm-act-completare {
    background: #fffbea;
    border: 1px solid #f5d78e;
    border-radius: 10px;
    padding: 14px 16px;
}

.mm-act-completare-titlu {
    margin: 0 0 10px;
    font-size: 13px;
    color: #7a5c00;
}

.mm-act-completare form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msp-camp-grup {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
}

.msp-camp-grup-titlu {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.msp-grup-titlu {
    margin: 14px 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: #2d2d2d;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

.msp-opt {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    width: auto !important;
    max-width: 100%;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
}

.msp-opt input[type="radio"],
.msp-opt input[type="checkbox"] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    position: static !important;
    opacity: 1 !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 16px !important;
    order: 0 !important;
    left: auto !important;
    top: auto !important;
}

@media (max-width: 600px) {
    .mm-card {
        padding: 20px;
    }

    .mm-instrumente-grid {
        grid-template-columns: 1fr;
    }
}

/* Portalul profesorului */
.msp-tabel-prezenta {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.msp-tabel-prezenta th,
.msp-tabel-prezenta td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.msp-input-observatii {
    width: 100%;
}

.msp-btn {
    background: #2d6cdf;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.msp-btn:hover {
    background: #1c56c2;
}

.msp-note-progres {
    margin: 10px 0;
    padding-left: 18px;
}

.msp-nota-data {
    font-weight: 600;
    color: #555;
}

.msp-portal-profesor .msp-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 16px;
}

.msp-portal-profesor .msp-card textarea {
    width: 100%;
    margin: 8px 0;
}

/* Evenimente publice */
.msp-evenimente {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.msp-eveniment-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    padding: 24px;
}

.msp-eveniment-header {
    margin-bottom: 8px;
}

.msp-eveniment-tip {
    display: inline-block;
    background: #eef2ff;
    color: #2d6cdf;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.msp-eveniment-header h3 {
    margin: 4px 0 0;
    font-size: 20px;
}

.msp-eveniment-descriere {
    color: #555;
    font-size: 14px;
    margin: 10px 0;
}

.msp-eveniment-detalii {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #666;
    margin: 12px 0;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.msp-eveniment-succes {
    background: #eafaf0;
    color: #2a8a3e;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.msp-eveniment-eroare {
    background: #fdecea;
    color: #b32d2e;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.msp-eveniment-plin {
    color: #b32d2e;
    font-weight: 600;
    font-size: 14px;
}

.msp-eveniment-form-details summary {
    cursor: pointer;
    font-weight: 600;
    color: #2d6cdf;
    padding: 8px 0;
    list-style: none;
}

.msp-eveniment-form-details summary::-webkit-details-marker {
    display: none;
}

.msp-eveniment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    max-width: 420px;
}

.msp-eveniment-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: #333;
}

.msp-eveniment-form input,
.msp-eveniment-form select {
    padding: 9px 11px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    width: 100%;
}

/* Pagina de profil */
.msp-profil-form {
    width: 100%;
    margin: 20px 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 28px;
    box-sizing: border-box;
}

.msp-profil-form .msp-eveniment-succes,
.msp-profil-form .msp-eveniment-eroare,
.msp-profil-form .msp-eroare-validare {
    grid-column: 1 / -1;
}

.msp-profil-form h3 {
    margin: 20px 0 4px;
    font-size: 16px;
    grid-column: 1 / -1;
}

.msp-profil-form h3:first-child {
    margin-top: 0;
}

/* Formularul de câmpuri editabile din fișa cursantului NU trebuie să intre în grid-ul
   general de formulare al .msp-profil-form (ăla e gândit pentru formularul de cont) —
   altfel rândurile "Etichetă: valoare Editează" ies centrate/înghesuite într-o coloană îngustă. */
#msp-campuri-editabile-form {
    display: block;
}

.msp-camp-rand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    text-align: left;
    margin: 0 0 10px;
}

.msp-camp-editeaza-link {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.msp-camp-input-zona input,
.msp-camp-input-zona textarea {
    max-width: 320px;
}

.msp-optional {
    font-weight: 400;
    color: #999;
    font-size: 13px;
}

.msp-profil-form form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 6px 24px;
    align-items: start;
}

.msp-profil-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.msp-profil-form input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    width: 100%;
}

.msp-profil-form input:disabled {
    background: #f5f5f5;
    color: #888;
    cursor: not-allowed;
}

.msp-camp-blocat {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

/* Autentificare / Înregistrare / Resetare parolă */
.msp-auth-wrap {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.msp-auth-card {
    width: 60%;
    max-width: 640px;
    min-width: 320px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 36px 32px;
    box-sizing: border-box;
}

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

.msp-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #dce6ff);
    font-size: 26px;
    margin-bottom: 14px;
}

.msp-auth-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}

.msp-auth-subtitle {
    margin: 0;
    color: #888;
    font-size: 14px;
    line-height: 1.4;
}

.msp-auth-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msp-auth-card label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.msp-auth-hint {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}

.msp-auth-card input[type="email"],
.msp-auth-card input[type="password"],
.msp-auth-card input[type="text"] {
    padding: 11px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.15s ease;
}

.msp-auth-card input:focus {
    outline: none;
    border-color: #2d6cdf;
}

.msp-btn-auth {
    display: block;
    align-self: center;
    margin: 4px auto 0;
    min-width: 220px;
    width: fit-content;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: #2d6cdf;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.msp-btn-auth:hover {
    background: #1c56c2;
}

.msp-auth-succes {
    background: #eafaf0;
    color: #2a8a3e;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin: 0 0 16px;
}

.msp-auth-eroare {
    background: #fdecea;
    color: #b32d2e;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin: 0 0 16px;
}

.msp-auth-links {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 22px;
}

.msp-auth-links a {
    color: #2d6cdf;
    text-decoration: none;
    font-weight: 500;
}

.msp-auth-links a:hover {
    text-decoration: underline;
}

.msp-auth-separator {
    margin: 0 8px;
    color: #ccc;
}

/* Validare vizibilă (înlocuiește tooltip-ul discret nativ al browserului) */
.msp-eroare-validare {
    background: #fdecea;
    color: #b32d2e;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 16px;
}

.msp-camp-invalid {
    border-color: #b32d2e !important;
    background: #fff8f8;
}

/* Elimin săgețile native ale câmpurilor numerice — ca să nu se poată schimba
   accidental valoarea prin scroll sau prin clic pe săgeți. */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Buton "arată parola" (ochi) */
.msp-camp-parola {
    position: relative;
}

.msp-camp-parola input {
    padding-right: 44px !important;
}

.msp-toggle-parola {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px;
    color: #999;
}

.msp-toggle-parola:hover {
    color: #555;
}

@media (max-width: 480px) {
    .msp-auth-wrap {
        padding: 24px 10px;
    }

    .msp-auth-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 28px 25px;
    }

    .msp-btn-auth {
        width: 100%;
    }
}

.msp-avatar-rand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.msp-reprezentant-legal {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f8f9fb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 6px;
}

.msp-reprezentant-legal input[type="text"] {
    margin-top: 4px;
    max-width: 320px;
}

.msp-avatar-rand img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.msp-avatar-upload {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #333;
}

.msp-profil-form button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 10px;
}

.msp-eveniment-persoane {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.msp-eveniment-persoana {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8f9fb;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
}

.msp-inscris-badge {
    color: #2a8a3e;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.msp-badge-asteptare {
    color: #b26a00 !important;
}

.msp-eveniment-actiuni {
    display: flex;
    align-items: center;
    gap: 10px;
}

.msp-btn-renunta {
    background: none;
    border: 1px solid #b32d2e;
    color: #b32d2e;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.msp-btn-renunta:hover {
    background: #fdecea;
}

/* Modal custom de confirmare (înlocuiește confirm() nativ al browserului) */
.msp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 30, 0.45);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.msp-modal-overlay.msp-modal-vizibil {
    display: flex;
}

.msp-modal-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 26px;
    max-width: 380px;
    width: 100%;
    box-sizing: border-box;
}

.msp-modal-mesaj {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #222;
}

.msp-modal-actiuni {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.msp-modal-btn {
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 14px;
    cursor: pointer;
}

.msp-modal-nu {
    background: #f1f1f1;
    color: #333;
}

.msp-modal-nu:hover {
    background: #e4e4e4;
}

.msp-modal-da {
    background: #2d6cdf;
    color: #fff;
}

.msp-modal-da:hover {
    background: #1c56c2;
}
