/* Inter (SIL OFL, găzduit local – fără cereri către servicii externe) */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/inter-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/inter-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/inter-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/inter-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* =====================================================================
   v3 – temă comună (se încarcă ULTIMA, peste app.css și stilurile paginilor)
   ===================================================================== */
:root {
    --v3-navy: #0B2A5B;
    --v3-navy-2: #123E85;
    --v3-ink: #1C2330;
    --v3-muted: #4A5262;
    --v3-line: #DCE3EE;
    --v3-line-2: #EEF1F5;
    --v3-bg: #F3F5F9;
    --v3-soft: #EEF2F8;
    --v3-ok: #1B6B3A;   --v3-ok-bg: #E3F4EA;   --v3-ok-bar: #2E8B57;
    --v3-wait: #7A4A00; --v3-wait-bg: #FFF1D6; --v3-wait-bar: #E0A030;
    --v3-bad: #8E1B1B;  --v3-bad-bg: #FDECEC;  --v3-bad-bar: #C0392B;
    --v3-none: #4A5262; --v3-none-bg: #ECEEF2;
    --v3-font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

body { font-family: var(--v3-font); background: var(--v3-bg); color: var(--v3-ink); }
h1, h2, h3, h4 { color: var(--v3-navy); }
a { color: var(--v3-navy-2); }

.container {
    max-width: 1240px;
    margin: 24px auto;
    border: 1px solid var(--v3-line);
    border-top: 0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.container.v3-wide { max-width: 1360px; }
.login-container { max-width: 460px; }

/* butoane – culoarea rămâne cea din pagină, forma devine unitară */
button, .btn-small, .btn-tarom, input[type=submit] { font-family: var(--v3-font); border-radius: 8px; }
.btn-small { padding: 7px 12px; font-weight: 600; font-size: 13px; }

input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
    font-family: var(--v3-font);
    border: 1px solid #CFD6E2;
    border-radius: 8px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
    outline: 3px solid rgba(18, 62, 133, .35);
    outline-offset: 1px;
}

.alert, .msg { border-radius: 10px; }

/* ------------------------- bara de sus ------------------------- */
.v3-top { background: var(--v3-navy); color: #fff; }
.v3-top-in {
    max-width: 1360px; margin: 0 auto; padding: 0 20px; min-height: 64px;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.v3-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; }
.v3-brand:hover { color: #fff; }
.v3-logo {
    width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--v3-navy);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}
.v3-nav { display: flex; gap: 2px; flex: 1 1 auto; flex-wrap: wrap; }
.v3-nav a {
    padding: 8px 12px; border-radius: 8px; color: #D9E2F2; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.v3-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.v3-nav a.on { background: rgba(255, 255, 255, .16); color: #fff; }
.v3-right { display: flex; align-items: center; gap: 10px; }
.v3-mine {
    background: #fff; color: var(--v3-navy); text-decoration: none; padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.v3-mine:hover { color: var(--v3-navy-2); }
.v3-menu { position: relative; }
.v3-menu > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .12); padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600;
}
.v3-menu > summary::-webkit-details-marker { display: none; }
.v3-av {
    width: 28px; height: 28px; border-radius: 50%; background: #3A5A93; color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.v3-who { line-height: 1.2; text-align: left; }
.v3-who small { display: block; font-weight: 400; font-size: 11px; color: #C9D4E8; }
.v3-drop {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 220px;
    background: #fff; color: var(--v3-ink); border: 1px solid var(--v3-line); border-radius: 12px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .16); padding: 6px;
}
.v3-drop a, .v3-drop button {
    display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; border: 0; background: none;
    color: var(--v3-ink); text-decoration: none; font: 500 14px var(--v3-font); cursor: pointer;
}
.v3-drop a:hover, .v3-drop button:hover { background: var(--v3-soft); }
.v3-drop hr { border: 0; border-top: 1px solid var(--v3-line-2); margin: 6px 0; }

@media (max-width: 900px) {
    .v3-top-in { padding: 10px 14px; gap: 10px; }
    .v3-nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .v3-right { margin-left: auto; }
    .v3-who { display: none; }
    .container { width: auto; margin: 12px 8px; padding: 16px 14px 40px; }
    .container.v3-narrow, .container.v3-wide { margin: 0; padding-left: 12px; padding-right: 12px; }
}

/* ------------------------- elemente comune ------------------------- */
.v3-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.v3-pill.ok { background: var(--v3-ok-bg); color: var(--v3-ok); }
.v3-pill.wait { background: var(--v3-wait-bg); color: var(--v3-wait); }
.v3-pill.chg { background: var(--v3-bad-bg); color: var(--v3-bad); }
.v3-pill.none { background: var(--v3-none-bg); color: var(--v3-none); }

.v3-card { background: #fff; border: 1px solid var(--v3-line); border-radius: 14px; padding: 18px; }
.v3-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px;
    padding: 9px 14px; font: 600 13px var(--v3-font); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.v3-btn.primary { background: var(--v3-navy); color: #fff; }
.v3-btn.primary:hover { background: var(--v3-navy-2); color: #fff; }
.v3-btn.light { background: var(--v3-soft); color: var(--v3-navy); }
.v3-btn.outline { background: #fff; color: var(--v3-ink); border: 1px solid #CFD6E2; }
.v3-btn.ok { background: var(--v3-ok-bg); color: var(--v3-ok); }
.v3-btn.ok:hover { background: #CDEBD8; }
.v3-btn.wait { background: var(--v3-wait-bg); color: var(--v3-wait); }
.v3-btn.wait:hover { background: #FBE3B3; }
.v3-btn.green { background: var(--v3-ok-bar); color: #fff; }
.v3-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ------------------------- panou admin ------------------------- */
.v3-pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.v3-pagehead .k { font-size: 13px; color: var(--v3-muted); font-weight: 500; }
.v3-pagehead h1 { margin: 4px 0 0; font-size: 28px; font-weight: 800; }
.v3-seg { display: inline-flex; background: #fff; border: 1px solid #D5DBE6; border-radius: 10px; padding: 3px; gap: 2px; }
.v3-seg a { padding: 7px 12px; border-radius: 8px; text-decoration: none; color: var(--v3-muted); font-weight: 600; font-size: 13px; }
.v3-seg a.on { background: var(--v3-navy); color: #fff; }
.v3-band { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; }
.v3-band .t { flex: 1 1 320px; font-size: 14px; }
.v3-dets { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 18px; }
.v3-det h2 { margin: 0; font-size: 18px; font-weight: 700; }
.v3-det .top { display: flex; justify-content: space-between; align-items: baseline; }
.v3-det .big { font-size: 32px; font-weight: 800; color: var(--v3-ink); }
.v3-bar { height: 8px; border-radius: 999px; background: #E8ECF3; overflow: hidden; display: flex; margin: 8px 0 12px; }
.v3-bar span { display: block; height: 100%; }
.v3-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; font-size: 13px; }
.v3-kv div { display: flex; justify-content: space-between; }
.v3-kv span { color: var(--v3-muted); }
.v3-warn { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--v3-bad-bg); color: var(--v3-bad); font-size: 13px; }
.v3-section { background: #fff; border: 1px solid var(--v3-line); border-radius: 14px; margin-bottom: 18px; }
.v3-section > .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid #E8ECF3; }
.v3-section > .hd h2 { margin: 0; font-size: 18px; font-weight: 700; }
.v3-section > .bd { padding: 14px 18px; }

/* tabelul de selecții */
#usersTable { border-collapse: collapse; width: 100%; box-shadow: none; border-radius: 0; }
#usersTable th { background: #F8F9FC; color: var(--v3-muted); font-weight: 600; font-size: 12px; text-transform: none; letter-spacing: 0; border-bottom: 1px solid #E2E6EE; padding: 10px 12px; }
#usersTable td { padding: 10px 12px; border-bottom: 1px solid var(--v3-line-2); font-size: 14px; }
#usersTable tbody tr:hover { background: #FAFBFD; }
.v3-acts { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; }
.v3-acts form { margin: 0; display: inline; }
.v3-more { position: relative; display: inline-block; }
.v3-more > summary { list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 8px; background: var(--v3-soft); color: var(--v3-ink); font-weight: 700; line-height: 1; }
.v3-more > summary::-webkit-details-marker { display: none; }
.v3-more .v3-drop { min-width: 200px; }

/* sub 760px: rândurile tabelului devin carduri */
@media (max-width: 760px) {
    .v3-dets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .v3-det { padding: 14px; }
    .v3-det .big { font-size: 24px; }
    #usersTable, #usersTable tbody { display: block; min-width: 0 !important; }
    #usersTable thead { display: none; }
    #usersTable tr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 4px; padding: 12px 4px; border-bottom: 1px solid var(--v3-line); }
    #usersTable td { border: 0 !important; padding: 0 !important; display: block !important; max-width: none !important; }
    #usersTable td.c-sel { display: none !important; }
    #usersTable td.c-id { order: 1; flex: 0 0 100%; font-size: 12px; color: var(--v3-muted); }
    #usersTable td.c-name { order: 2; flex: 1 1 calc(100% - 130px); font-weight: 700; font-size: 15px; }
    #usersTable td.c-status { order: 3; flex: 0 0 120px; text-align: right !important; }
    #usersTable td.c-role { order: 4; flex: 0 0 auto; font-size: 12px; color: var(--v3-muted); }
    #usersTable td.c-det { order: 5; flex: 0 0 auto; font-size: 12px; color: var(--v3-muted); margin-right: 6px; }
    #usersTable td.c-slots { order: 6; flex: 0 0 auto; font-size: 13px !important; }
    #usersTable td.c-slots::before { content: attr(data-k) " "; color: var(--v3-muted); font-size: 11px; }
    #usersTable td.c-act { order: 7; flex: 0 0 100%; margin-top: 8px; text-align: left !important; }
    .v3-acts { justify-content: flex-start; flex-wrap: wrap; }
    .v3-acts .v3-btn { min-height: 44px; }
}
@media (max-width: 420px) { .v3-dets { grid-template-columns: 1fr; } }

/* tabelul din panou: fără umbră dublă; pe ecran lat meniul „⋯” nu e tăiat */
#selectii .users-table-wrapper { box-shadow: none; margin: 0; border-radius: 0; }
#selectii #userFilters { margin-top: 0; }
@media (min-width: 1200px) { #selectii .users-table-wrapper { overflow: visible; } #selectii .admin-table { min-width: 0; } }
.add-user-panel, .edit-panel { border-radius: 14px; border: 1px solid var(--v3-line); box-shadow: none; }

#usersTable th, #usersTable td { border-left: 0; border-right: 0; text-align: left; }
#usersTable td.c-act, #usersTable th:last-child { text-align: right; }
#fReset { background: var(--v3-soft); color: var(--v3-navy); border: 0; border-radius: 8px; padding: 8px 12px; font-weight: 600; }

/* ------------------------- pagina pilotului ------------------------- */
.container.v3-narrow { max-width: 820px; background: transparent; border: 0; box-shadow: none; padding: 20px 16px 120px; }
.v3-hero { background: var(--v3-navy); color: #fff; border-radius: 16px; padding: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.v3-hero .k { font-size: 14px; color: #C9D4E8; }
.v3-hero h1 { color: #fff; margin: 2px 0 10px; font-size: 24px; font-weight: 800; }
.v3-hero .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.v3-hero .chips span { background: rgba(255, 255, 255, .14); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.v3-hero .v3-seg { background: rgba(255, 255, 255, .12); border: 0; }
.v3-hero .v3-seg a { color: #D9E2F2; }
.v3-hero .v3-seg a.on { background: #fff; color: var(--v3-navy); }
.v3-note { background: #fff; border: 1px solid var(--v3-line); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 14px; line-height: 1.45; }
.v3-note.ok { border-color: #BFE3CB; background: #F3FBF6; }
.v3-note.warn { border-color: #F1DDAE; background: #FFF8E8; }

.v3-steps { margin-bottom: 18px; }
.v3-steps .top { display: flex; justify-content: space-between; align-items: baseline; }
.v3-steps h2 { margin: 0; font-size: 16px; }
.v3-steps .top span { font-size: 13px; color: var(--v3-muted); }
.v3-steps .grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.v3-steps .st { border-radius: 10px; padding: 8px 4px; text-align: center; background: var(--v3-line-2); color: var(--v3-muted); text-decoration: none; }
.v3-steps .st b { display: block; font-size: 13px; }
.v3-steps .st small { display: block; font-size: 11px; margin-top: 2px; }
.v3-steps .st.done { background: var(--v3-ok-bg); color: var(--v3-ok); }
.v3-steps .st.now { background: var(--v3-navy); color: #fff; }

.v3-group { margin-bottom: 22px; scroll-margin-top: 12px; }
.v3-group .gh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 0 4px 10px; }
.v3-group .gh h2 { margin: 0; font-size: 18px; }
.v3-group .gh span { font-size: 13px; color: var(--v3-muted); }
.v3-group .hint { font-size: 12px; color: var(--v3-muted); margin: 10px 4px 0; line-height: 1.5; }
.v3-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.v3-slot {
    position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--v3-line); border-radius: 14px; padding: 14px 16px; cursor: pointer; min-height: 44px;
}
.v3-slot > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.v3-slot:focus-within { outline: 3px solid rgba(18, 62, 133, .35); outline-offset: 1px; }
.v3-slot .l { display: flex; flex-direction: column; gap: 2px; }
.v3-slot .c { font-size: 16px; font-weight: 800; color: var(--v3-ink); }
.v3-slot .p { font-size: 13px; color: var(--v3-muted); }
.v3-slot .r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.v3-slot .m { width: 84px; height: 6px; background: #E8ECF3; border-radius: 999px; overflow: hidden; }
.v3-slot .m span { display: block; height: 100%; background: var(--v3-ok-bar); }
.v3-slot.sel { border: 2px solid var(--v3-navy); box-shadow: 0 0 0 3px rgba(11, 42, 91, .12); padding: 13px 15px; }
.v3-slot.full { opacity: .55; cursor: not-allowed; }
.v3-slot.c { cursor: default; }
.v3-slot .opts { flex: 1 1 100%; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.v3-slot .opt { position: relative; flex: 1 1 0; min-width: 96px; }
.v3-slot .opt input { position: absolute; opacity: 0; }
.v3-slot .opt span, .v3-slot .opt.off {
    display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px; border-radius: 10px;
    border: 1px solid #CFD6E2; font-size: 12px; font-weight: 600; text-align: center; cursor: pointer; background: #fff;
}
.v3-slot .opt input:checked + span { background: var(--v3-navy); border-color: var(--v3-navy); color: #fff; }
.v3-slot .opt input:disabled + span { opacity: .45; cursor: not-allowed; }
.v3-slot .opt input:focus-visible + span { outline: 3px solid rgba(18, 62, 133, .35); }
.v3-slot .opt.off { color: var(--v3-muted); background: var(--v3-line-2); cursor: not-allowed; }
form.locked .v3-slot { cursor: default; }

.v3-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--v3-line); }
.v3-sticky .inner { max-width: 820px; margin: 0 auto; padding: 10px 16px 14px; display: flex; gap: 10px; }

/* status pilot */
.v3-status { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.v3-status .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.v3-status .ic.ok { background: var(--v3-ok-bg); color: var(--v3-ok); }
.v3-status .ic.wait { background: var(--v3-wait-bg); color: var(--v3-wait); }
.v3-status .ic.chg { background: var(--v3-bad-bg); color: var(--v3-bad); }
.v3-status .ic.none { background: var(--v3-none-bg); color: var(--v3-none); }
.v3-status .t { font-size: 16px; font-weight: 700; }
.v3-status .d { font-size: 13px; color: var(--v3-muted); margin-top: 4px; line-height: 1.45; }
.v3-year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.v3-year div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.v3-year span { width: 100%; height: 36px; border-radius: 6px; background: #E8ECF3; }
.v3-year span.on { background: var(--v3-navy); }
.v3-year small { font-size: 11px; color: var(--v3-muted); }
.v3-mine .row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--v3-line-2); }
.v3-mine .row.tot { background: #F8F9FC; font-size: 14px; }
.v3-mine .code { min-width: 48px; height: 36px; padding: 0 6px; border-radius: 10px; background: var(--v3-soft); color: var(--v3-navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.v3-mine .per { font-size: 14px; font-weight: 600; }
.v3-mine .kind { font-size: 12px; color: var(--v3-muted); }
.v3-mine .days { font-size: 13px; font-weight: 600; color: var(--v3-muted); white-space: nowrap; }
.v3-actions-col { display: flex; flex-direction: column; gap: 10px; }
.v3-btn.big { min-height: 48px; font-size: 15px; border-radius: 12px; }

/* cereri de modificare */
.v3-req { margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--v3-bad); white-space: normal; max-width: 220px; }
.v3-req.soft { color: var(--v3-muted); font-weight: 500; }
.v3-ask summary { list-style: none; cursor: pointer; }
.v3-ask summary::-webkit-details-marker { display: none; }
.v3-ask[open] summary { margin-bottom: 10px; }
.v3-ask textarea { width: 100%; box-sizing: border-box; min-height: 90px; border: 1px solid #CFD6E2; border-radius: 10px; padding: 10px 12px; font: 14px var(--v3-font); }

/* Calendar (aplicatia.php): antetul vechi devine antet de pagină deschis la culoare */
.tarom-topbar { background: transparent; color: var(--v3-ink); box-shadow: none; border-radius: 0; padding: 24px 0 8px; }
.tarom-topbar .row { max-width: 1360px; padding: 0 24px; flex-wrap: wrap; }
.tarom-badge { display: none; }
.tarom-title { color: var(--v3-navy); font-size: 28px; font-weight: 800; }
.tarom-subtitle { color: var(--v3-muted); opacity: 1; }
.tarom-actions .btn-tarom { font-family: var(--v3-font); font-size: 13px; padding: 8px 14px; border-radius: 8px; box-shadow: none; }
.tarom-actions .btn-tarom.btn-secondary { background: #fff; color: var(--v3-ink); border: 1px solid #CFD6E2; }
.tarom-actions .btn-tarom.btn-primary { background: var(--v3-navy); color: #fff; border: 1px solid var(--v3-navy); }

/* ------------------------- telefon: panou admin ca în machetă ------------------------- */
.v3-kpis, .v3-qchips, .v3-bnav { display: none; }
@media (max-width: 760px) {
    .v3-nav { display: none; }
    body:has(.v3-bnav) { padding-bottom: 76px; }
    .v3-bnav {
        display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: #fff; border-top: 1px solid var(--v3-line); padding: 6px 4px 10px;
    }
    .v3-bnav a, .v3-bnav summary {
        display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; min-height: 44px; box-sizing: border-box;
        color: var(--v3-muted); text-decoration: none; font-size: 11px; font-weight: 600; list-style: none; cursor: pointer;
    }
    .v3-bnav summary::-webkit-details-marker { display: none; }
    .v3-bnav a.on { color: var(--v3-navy); }
    .v3-bnav details { position: relative; }
    .v3-bnav details .v3-drop { top: auto; bottom: calc(100% + 10px); right: 4px; }

    .v3-pagehead h1 { font-size: 22px; }
    .v3-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
    .v3-kpis div { background: #fff; border: 1px solid var(--v3-line); border-radius: 14px; padding: 12px 14px; }
    .v3-kpis small { display: block; font-size: 12px; color: var(--v3-muted); }
    .v3-kpis strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.2; }
    .v3-kpis .wait strong { color: var(--v3-wait); }
    .v3-kpis .ok strong { color: var(--v3-ok); }
    .v3-kpis .bad { background: var(--v3-bad-bg); border-color: #F3C9C9; }
    .v3-kpis .bad small, .v3-kpis .bad strong { color: var(--v3-bad); }
    .v3-dets { display: none; }

    .v3-qchips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; }
    .v3-qchips button { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid #CFD6E2; font: 600 13px var(--v3-font); color: var(--v3-ink); min-height: 40px; }
    .v3-qchips button.on { background: var(--v3-navy); border-color: var(--v3-navy); color: #fff; }
    #userFilters .fgrp:not(:first-child) { display: none; }
    #userFilters.more .fgrp { display: flex; }

    #selectii > .bd { padding: 10px 12px; }
    #usersTable tr { background: #fff; border: 1px solid var(--v3-line) !important; border-radius: 14px; padding: 14px !important; margin-bottom: 10px; }
    #usersTable td.c-slots { background: var(--v3-soft); color: var(--v3-navy); font-weight: 600; border-radius: 8px; padding: 5px 9px !important; }
    #usersTable td.c-slots:empty, #usersTable td.c-slots.none { display: none !important; }
    .v3-acts { display: grid; grid-template-columns: 1fr 1fr auto; width: 100%; gap: 8px; }
    .v3-acts form, .v3-acts form .v3-btn { width: 100%; }
    .v3-acts .v3-btn { font-size: 14px; font-weight: 700; border-radius: 10px; }
}

/* ------------------------- selecția pe pași (cu JavaScript) ------------------------- */
form.wiz .v3-group { display: none; }
form.wiz .v3-group.cur { display: block; }
form.wiz .v3-steps .st { cursor: pointer; }
@media (max-width: 760px) { body:has(.v3-sticky) .v3-bnav { display: none; } }
@media (max-width: 760px) { #bulkForm { display: none; } }

/* pagina de login (card îngust): logo deasupra titlului, nimic nu iese din card */
.login-container .container-header { flex-direction: column; gap: 14px; padding: 32px 24px 28px; overflow: hidden; }
.login-container .header-logo { height: auto; width: 72%; max-width: 260px; }
.login-container .container-header h1 { font-size: 1.6rem; line-height: 1.25; margin: 0; }
.login-form button[type=submit] { background: var(--v3-navy); border-radius: 10px; min-height: 44px; font-weight: 600; }
.login-form button[type=submit]:hover { background: var(--v3-navy-2); }
