/* =========================================================
   Cont parinte - header, autentificare, contul meu
   Toate clasele au prefixul pcm- ca sa nu mosteneasca stilurile temei
   ========================================================= */

:root {
    --pcm-blue: #4284f3;
    --pcm-blue-dark: #2563d8;
    --pcm-blue-ink: #1b3f8f;
    --pcm-blue-soft: #eef4ff;
    --pcm-orange: #f17245;
    --pcm-orange-dark: #dc5a2c;
    --pcm-orange-soft: #fff1eb;
    --pcm-green: #12a37a;
    --pcm-green-soft: #e7f7f1;
    --pcm-amber: #c27a06;
    --pcm-amber-soft: #fff6e0;
    --pcm-red: #d64545;
    --pcm-red-soft: #fdeeee;
    --pcm-ink: #1d2433;
    --pcm-text: #3c4557;
    --pcm-muted: #6b7489;
    --pcm-line: #e7eaf1;
    --pcm-bg: #f6f8fc;
    --pcm-radius: 14px;
    --pcm-radius-lg: 20px;
    --pcm-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --pcm-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px -8px rgba(16, 24, 40, .10);
    --pcm-shadow-lg: 0 24px 64px -16px rgba(16, 24, 40, .28);
    --pcm-font: 'Poppins', 'Rubik', system-ui, sans-serif;
}

/* ---------- Butoane ---------- */

.pcm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: var(--pcm-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}
.pcm-btn:hover { text-decoration: none; }
.pcm-btn:active { transform: translateY(1px); }
.pcm-btn:focus-visible { outline: 3px solid rgba(66, 132, 243, .35); outline-offset: 2px; }
.pcm-btn i { font-size: 15px; }
.pcm-btn-block { width: 100%; }
.pcm-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }

.pcm-btn-primary { background: var(--pcm-orange); color: #fff; box-shadow: 0 6px 16px -6px rgba(241, 114, 69, .6); }
.pcm-btn.pcm-btn-primary:hover { background: var(--pcm-orange-dark); color: #fff; box-shadow: 0 8px 20px -6px rgba(241, 114, 69, .65); }
.pcm-btn-blue { background: var(--pcm-blue); color: #fff; }
.pcm-btn-blue:hover { background: var(--pcm-blue-dark); color: #fff; }
.pcm-btn-light { background: #fff; color: var(--pcm-ink); border-color: var(--pcm-line); }
.pcm-btn-light:hover { border-color: #cfd5e2; color: var(--pcm-ink); background: #fbfcfe; }
.pcm-btn-ghost-white { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .35); }
.pcm-btn-ghost-white:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.pcm-btn-white { background: #fff; color: var(--pcm-blue-ink); }
.pcm-btn-white:hover { background: #f3f6ff; color: var(--pcm-blue-ink); }

.pcm-btn.is-loading { pointer-events: none; opacity: .85; }
.pcm-btn.is-loading > span { opacity: 0; }
.pcm-btn.is-loading { position: relative; }
.pcm-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    animation: pcm-spin .7s linear infinite;
}
@keyframes pcm-spin { to { transform: rotate(360deg); } }

/* ---------- Header si meniul principal ---------- */

html { scroll-padding-top: 90px; } /* ancorele (#contact etc.) nu ajung sub headerul fix */

.pcm-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--pcm-line);
    font-family: var(--pcm-font);
}
.pcm-header.is-stuck {
    position: fixed;
    box-shadow: 0 8px 24px -14px rgba(16, 24, 40, .22);
    animation: pcm-header-in .3s ease both;
}
@keyframes pcm-header-in { from { transform: translateY(-100%); } to { transform: none; } }

.pcm-header-bar { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .2s ease; }
.pcm-header.is-stuck .pcm-header-bar { height: 70px; }

.pcm-logo { flex: 0 0 auto; display: block; line-height: 0; }
.pcm-logo img { height: 42px; width: auto; max-width: none; transition: height .2s ease; }
.pcm-header.is-stuck .pcm-logo img { height: 36px; }

.pcm-nav { flex: 1; min-width: 0; }
.pcm-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.pcm-nav-item { position: relative; }
.pcm-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--pcm-ink);
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}
.pcm-nav-link i { font-size: 11px; color: var(--pcm-muted); transition: transform .2s ease, color .15s ease; }
.pcm-nav-link:hover,
.pcm-nav-item.has-sub:hover > .pcm-nav-link,
.pcm-nav-item.has-sub:focus-within > .pcm-nav-link { background: var(--pcm-bg); color: var(--pcm-blue-ink); }
.pcm-nav-item.has-sub:hover > .pcm-nav-link i,
.pcm-nav-item.has-sub:focus-within > .pcm-nav-link i { transform: rotate(180deg); color: var(--pcm-blue); }
.pcm-nav-link.is-active { color: var(--pcm-blue); }
.pcm-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--pcm-orange);
}

/* submeniuri (hover + tastatura) */
.pcm-sub {
    position: absolute;
    top: 100%;
    left: -8px;
    padding-top: 10px; /* puntea invizibila dintre link si panou, ca meniul sa nu se inchida */
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 30;
}
.pcm-nav-item.has-sub:hover > .pcm-sub,
.pcm-nav-item.has-sub:focus-within > .pcm-sub { opacity: 1; visibility: visible; transform: none; }
.pcm-sub-inner {
    min-width: 270px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--pcm-line);
    border-radius: 16px;
    box-shadow: var(--pcm-shadow-lg);
}
.pcm-sub-wide .pcm-sub-inner { width: 560px; padding: 12px; }
.pcm-sub ul { list-style: none; margin: 0; padding: 0; }
.pcm-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.pcm-sub-label { padding: 4px 10px 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9aa2b4; }
.pcm-sub-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--pcm-text);
    transition: background-color .15s ease, color .15s ease;
}
.pcm-sub-link i { width: 18px; text-align: center; font-size: 15px; color: var(--pcm-muted); transition: color .15s ease; }
.pcm-sub-link:hover { background: var(--pcm-bg); color: var(--pcm-ink); }
.pcm-sub-link:hover i { color: var(--pcm-blue); }
.pcm-sub-num {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--pcm-blue-soft);
    color: var(--pcm-blue-ink);
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s ease, color .15s ease;
}
.pcm-sub-link:hover .pcm-sub-num { background: var(--pcm-blue); color: #fff; }
.pcm-sub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 12px 10px 4px;
    border-top: 1px solid var(--pcm-line);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--pcm-blue);
}
.pcm-sub-footer:hover { color: var(--pcm-blue-dark); }

/* zona din dreapta: cont + butoane pentru mobil */
.pcm-header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; margin-left: auto; }

.pcm-header-icon-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--pcm-line);
    background: #fff;
    color: var(--pcm-ink);
    font-size: 17px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.pcm-header-icon-btn:hover { border-color: #cfd5e2; background: var(--pcm-bg); color: var(--pcm-ink); }
.pcm-header-icon-btn:focus-visible { outline: 3px solid rgba(66, 132, 243, .35); outline-offset: 2px; }
.pcm-header-icon-btn.is-avatar { border: 0; background: none; width: auto; }
.pcm-burger span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--pcm-ink); }
.pcm-burger span:nth-child(2) { width: 12px; margin-left: 6px; }

@media screen and (max-width: 1199.98px) {
    .pcm-header-bar { gap: 14px; }
    .pcm-logo img { height: 36px; }
    .pcm-nav-link { padding: 0 10px; font-size: 14.5px; }
    .pcm-nav-link.is-active::after { left: 10px; right: 10px; }
    .pcm-user-meta { display: none; }
    .pcm-user-trigger { padding-right: 10px; }
}
@media screen and (max-width: 991.98px) {
    .pcm-nav, .pcm-account-btn, .pcm-user { display: none; }
    .pcm-header-icon-btn { display: inline-flex; }
    .pcm-header-bar, .pcm-header.is-stuck .pcm-header-bar { height: 68px; }
    .pcm-logo img, .pcm-header.is-stuck .pcm-logo img { height: 32px; }
}
@media screen and (max-width: 380px) {
    .pcm-logo img, .pcm-header.is-stuck .pcm-logo img { height: 26px; }
}


.pcm-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 18px 0 6px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(241, 114, 69, .35);
    color: var(--pcm-ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--pcm-shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.pcm-account-btn:hover {
    border-color: var(--pcm-orange);
    box-shadow: 0 8px 20px -10px rgba(241, 114, 69, .6);
}
.pcm-account-btn:focus-visible { outline: 3px solid rgba(241, 114, 69, .35); outline-offset: 2px; }
.pcm-account-btn .pcm-account-btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pcm-orange);
    color: #fff;
    font-size: 14px;
}

.pcm-user { position: relative; }

.pcm-user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px 0 5px;
    border-radius: 999px;
    border: 1px solid var(--pcm-line);
    background: #fff;
    cursor: pointer;
    box-shadow: var(--pcm-shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
    font-family: var(--pcm-font);
    text-align: left;
}
.pcm-user-trigger:hover,
.pcm-user.is-open .pcm-user-trigger {
    border-color: #cbd8f5;
    box-shadow: 0 8px 20px -12px rgba(66, 132, 243, .55);
}
.pcm-user-trigger:focus-visible { outline: 3px solid rgba(66, 132, 243, .35); outline-offset: 2px; }

.pcm-avatar {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5b97f7 0%, #2f6be0 100%);
    color: #fff;
    font-family: var(--pcm-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}
.pcm-avatar-lg { width: 48px; height: 48px; font-size: 16px; }
.pcm-avatar-xl { width: 64px; height: 64px; font-size: 21px; }

.pcm-user-meta { display: flex; flex-direction: column; line-height: 1.2; }
.pcm-user-meta small { font-size: 11px; color: var(--pcm-muted); font-weight: 400; }
.pcm-user-meta strong { font-size: 14px; color: var(--pcm-ink); font-weight: 500; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcm-user-chevron { font-size: 12px; color: var(--pcm-muted); transition: transform .2s ease; }
.pcm-user.is-open .pcm-user-chevron { transform: rotate(180deg); }

.pcm-user-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 290px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--pcm-line);
    border-radius: 18px;
    box-shadow: var(--pcm-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.98);
    transform-origin: top right;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.pcm-user.is-open .pcm-user-panel { opacity: 1; visibility: visible; transform: none; }

.pcm-user-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--pcm-line);
}
.pcm-user-panel-head .pcm-user-panel-name { font-size: 14px; font-weight: 600; color: var(--pcm-ink); line-height: 1.3; }
.pcm-user-panel-head .pcm-user-panel-email { font-size: 12px; color: var(--pcm-muted); line-height: 1.3; word-break: break-all; }

.pcm-user-panel ul { list-style: none; margin: 0; padding: 0; }
.pcm-user-panel li { margin: 0; padding: 0; border: 0; width: auto; }
.pcm-user-panel a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    color: var(--pcm-text);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.pcm-user-panel a i { width: 18px; text-align: center; font-size: 15px; color: var(--pcm-muted); transition: color .15s ease; }
.pcm-user-panel a:hover { background: var(--pcm-bg); color: var(--pcm-ink); }
.pcm-user-panel a:hover i { color: var(--pcm-blue); }
.pcm-user-panel a.is-active { background: var(--pcm-blue-soft); color: var(--pcm-blue-ink); font-weight: 500; }
.pcm-user-panel a.is-active i { color: var(--pcm-blue); }
.pcm-user-panel .pcm-user-panel-sep { height: 1px; background: var(--pcm-line); margin: 6px 4px; }
.pcm-user-panel a.pcm-logout:hover { background: var(--pcm-red-soft); color: var(--pcm-red); }
.pcm-user-panel a.pcm-logout:hover i { color: var(--pcm-red); }

/* meniul mobil (sertar din dreapta) */
body.pcm-nav-open { overflow: hidden; }

.pcm-drawer { position: fixed; inset: 0; z-index: 1030; visibility: hidden; pointer-events: none; transition: visibility 0s linear .35s; }
.pcm-drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.pcm-drawer-overlay { position: absolute; inset: 0; background: rgba(15, 26, 51, .5); opacity: 0; transition: opacity .3s ease; }
.pcm-drawer.is-open .pcm-drawer-overlay { opacity: 1; }

.pcm-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 100%);
    display: flex;
    flex-direction: column;
    background: #fff;
    font-family: var(--pcm-font);
    box-shadow: var(--pcm-shadow-lg);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.pcm-drawer.is-open .pcm-drawer-panel { transform: none; }

.pcm-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 68px;
    padding: 0 14px 0 20px;
    border-bottom: 1px solid var(--pcm-line);
}
.pcm-drawer-head .pcm-logo img { height: 30px; }
.pcm-drawer .pcm-header-icon-btn { display: inline-flex; }

.pcm-drawer-nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px; }
.pcm-drawer-nav ul { list-style: none; margin: 0; padding: 0; }

/* elementele intra pe rand, discret, la deschidere */
.pcm-drawer-nav > ul > li { opacity: 0; transform: translateX(12px); transition: opacity .3s ease, transform .3s ease; }
.pcm-drawer.is-open .pcm-drawer-nav > ul > li { opacity: 1; transform: none; }
.pcm-drawer.is-open .pcm-drawer-nav > ul > li:nth-child(1) { transition-delay: .06s; }
.pcm-drawer.is-open .pcm-drawer-nav > ul > li:nth-child(2) { transition-delay: .09s; }
.pcm-drawer.is-open .pcm-drawer-nav > ul > li:nth-child(3) { transition-delay: .12s; }
.pcm-drawer.is-open .pcm-drawer-nav > ul > li:nth-child(4) { transition-delay: .15s; }
.pcm-drawer.is-open .pcm-drawer-nav > ul > li:nth-child(5) { transition-delay: .18s; }
.pcm-drawer.is-open .pcm-drawer-nav > ul > li:nth-child(6) { transition-delay: .21s; }

.pcm-drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 12px;
    border: 0;
    border-radius: 12px;
    background: none;
    font-family: var(--pcm-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--pcm-ink);
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.pcm-drawer-link > i:first-child { width: 22px; text-align: center; font-size: 18px; color: var(--pcm-muted); }
.pcm-drawer-link:hover,
.pcm-drawer-link[aria-expanded="true"] { background: var(--pcm-bg); color: var(--pcm-ink); }
.pcm-drawer-link.is-active,
.pcm-drawer-link.is-active > i:first-child { color: var(--pcm-blue); }
.pcm-drawer-chevron { margin-left: auto; font-size: 13px; color: var(--pcm-muted); transition: transform .25s ease; }
.pcm-drawer-link[aria-expanded="true"] .pcm-drawer-chevron { transform: rotate(180deg); }

/* acordeon fara inaltimi calculate in JS */
.pcm-drawer-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.pcm-drawer-nav li.is-open > .pcm-drawer-sub { grid-template-rows: 1fr; }
.pcm-drawer-sub > ul { min-height: 0; overflow: hidden; margin-left: 23px; border-left: 1px solid var(--pcm-line); }
.pcm-drawer-sub a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 2px 12px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 14.5px;
    line-height: 1.35;
    color: var(--pcm-text);
}
.pcm-drawer-sub a:hover { background: var(--pcm-bg); color: var(--pcm-ink); }
.pcm-drawer-sub a i { width: 18px; text-align: center; color: var(--pcm-muted); }
.pcm-drawer-sub .pcm-sub-num { width: 26px; height: 26px; font-size: 12px; }
.pcm-drawer-sub a.pcm-drawer-all { justify-content: space-between; font-weight: 500; color: var(--pcm-blue); }
.pcm-drawer-sub a.pcm-drawer-all i { width: auto; color: var(--pcm-blue); }

/* zona contului, fixata in partea de jos a sertarului */
.pcm-mobile-account {
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pcm-line);
    background: var(--pcm-bg);
    font-family: var(--pcm-font);
}
.pcm-mobile-account-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pcm-mobile-account-head strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--pcm-ink); line-height: 1.3; }
.pcm-mobile-account-head small { display: block; font-size: 12.5px; color: var(--pcm-muted); word-break: break-all; }
.pcm-mobile-account-head .pcm-account-btn-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pcm-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.pcm-mobile-account-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pcm-mobile-account-links .pcm-btn { width: 100%; height: 44px; }

@media (prefers-reduced-motion: reduce) {
    .pcm-drawer-panel, .pcm-drawer-overlay, .pcm-drawer-nav > ul > li, .pcm-drawer-sub, .pcm-header.is-stuck { transition: none !important; animation: none !important; }
}

/* ---------- Modal autentificare ---------- */

.pcm-auth-modal .modal-dialog {
    max-width: 440px;
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transition: max-width .25s ease, transform .3s ease-out;
}
.pcm-auth-modal.is-wide .modal-dialog { max-width: 580px; }
.pcm-auth-modal .modal-content {
    position: relative;
    max-height: none;
    overflow: visible;
    background: #fff;
    border: 0;
    border-radius: 24px;
    box-shadow: var(--pcm-shadow-lg);
}
.modal-backdrop.show { opacity: .55; }
body.modal-open .modal-backdrop { background-color: #0f1a33; }

.pcm-auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: var(--pcm-bg);
    color: var(--pcm-muted);
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color .15s ease, color .15s ease;
}
.pcm-auth-close:hover { background: #eceff6; color: var(--pcm-ink); }
.pcm-auth-close:focus-visible { outline: 3px solid rgba(66, 132, 243, .35); outline-offset: 2px; }

.pcm-auth {
    font-family: var(--pcm-font);
    color: var(--pcm-text);
    text-align: left;
    padding: 36px 36px 28px;
}
@media screen and (max-width: 575.98px) {
    .pcm-auth { padding: 30px 22px 22px; }
}

.pcm-auth-panel { display: none; }
.pcm-auth-panel.is-active { display: block; animation: pcm-fade .25s ease; }
@keyframes pcm-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.pcm-auth-head { text-align: center; margin-bottom: 24px; }
.pcm-auth-logo { height: 30px; width: auto; margin: 0 auto 22px; display: block; }
.pcm-auth-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pcm-orange-soft);
    color: var(--pcm-orange);
    font-size: 22px;
}
.pcm-auth-icon.is-success { background: var(--pcm-green-soft); color: var(--pcm-green); }
.pcm-auth-icon.is-error { background: var(--pcm-red-soft); color: var(--pcm-red); }
.pcm-auth-icon.is-neutral { background: var(--pcm-blue-soft); color: var(--pcm-blue); }
.pcm-auth .pcm-security-note { text-align: left; margin-bottom: 20px; }
.pcm-auth .pcm-auth-title {
    font-family: var(--pcm-font);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--pcm-ink);
    margin: 0 0 6px;
    letter-spacing: -.01em;
}
.pcm-auth .pcm-auth-sub {
    font-size: 14px;
    line-height: 1.55;
    color: var(--pcm-muted);
    margin: 0 auto;
    max-width: 340px;
}

.pcm-auth-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 14px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--pcm-red-soft);
    color: #a8302f;
    font-size: 13px;
    line-height: 1.5;
}
.pcm-auth-alert[hidden] { display: none; }
.pcm-auth-alert i { margin-top: 2px; }

.pcm-auth-switch {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--pcm-line);
    text-align: center;
    font-size: 13.5px;
    color: var(--pcm-muted);
}
.pcm-auth-switch a { color: var(--pcm-blue); font-weight: 500; }
.pcm-auth-switch a:hover { color: var(--pcm-blue-dark); }

/* ---------- Campuri formular (comune pentru modal si contul meu) ---------- */

.pcm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media screen and (max-width: 575.98px) {
    .pcm-form-grid { grid-template-columns: 1fr; }
}

.pcm-field { margin-bottom: 16px; position: relative; }
.pcm-field label,
.pcm-label-row label {
    display: block;
    margin: 0 0 6px;
    font-family: var(--pcm-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--pcm-ink);
    line-height: 1.4;
}
.pcm-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pcm-label-row a { font-size: 12.5px; color: var(--pcm-blue); font-weight: 500; }
.pcm-label-row a:hover { color: var(--pcm-blue-dark); }

.pcm-input { position: relative; }
.pcm-input > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #98a1b3;
    pointer-events: none;
    transition: color .15s ease;
}
.pcm-auth .pcm-input input,
.pcm-account .pcm-input input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    margin: 0;
    font-family: var(--pcm-font);
    font-size: 14.5px;
    line-height: 46px;
    color: var(--pcm-ink);
    background: #fff;
    border: 1px solid #dfe3ec;
    border-radius: 12px;
    box-shadow: var(--pcm-shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pcm-auth .pcm-input input::placeholder,
.pcm-account .pcm-input input::placeholder { color: #a6aec0; }
.pcm-auth .pcm-input input:hover,
.pcm-account .pcm-input input:hover { border-color: #c9d0de; }
.pcm-auth .pcm-input input:focus,
.pcm-account .pcm-input input:focus {
    outline: none;
    border-color: var(--pcm-blue);
    box-shadow: 0 0 0 4px rgba(66, 132, 243, .14);
}
.pcm-input input:focus ~ i,
.pcm-input:focus-within > i { color: var(--pcm-blue); }
.pcm-auth .pcm-input input[readonly],
.pcm-account .pcm-input input[readonly] { background: var(--pcm-bg); color: var(--pcm-muted); cursor: not-allowed; box-shadow: none; }
.pcm-input.has-toggle input { padding-right: 46px !important; }
.pcm-field.has-error .pcm-input input { border-color: var(--pcm-red) !important; box-shadow: 0 0 0 4px rgba(214, 69, 69, .1) !important; }

.pcm-toggle-pass {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #98a1b3;
    font-size: 15px;
    cursor: pointer;
}
.pcm-toggle-pass:hover { color: var(--pcm-ink); background: var(--pcm-bg); }

.pcm-hint { font-size: 12px; color: var(--pcm-muted); margin: 6px 0 0; line-height: 1.5; }

/* indicator putere parola */
.pcm-strength { display: flex; gap: 4px; margin-top: 8px; }
.pcm-strength span { flex: 1; height: 4px; border-radius: 4px; background: var(--pcm-line); transition: background-color .2s ease; }
.pcm-strength[data-nivel="1"] span:nth-child(-n+1) { background: var(--pcm-red); }
.pcm-strength[data-nivel="2"] span:nth-child(-n+2) { background: #f0a020; }
.pcm-strength[data-nivel="3"] span:nth-child(-n+3) { background: #7cbf3a; }
.pcm-strength[data-nivel="4"] span:nth-child(-n+4) { background: var(--pcm-green); }

/* regulament + checkbox */
.pcm-terms {
    margin: 4px 0 18px;
    border: 1px solid var(--pcm-line);
    border-radius: 12px;
    background: var(--pcm-bg);
}
.pcm-terms summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--pcm-ink);
    cursor: pointer;
    list-style: none;
}
.pcm-terms summary::-webkit-details-marker { display: none; }
.pcm-terms summary i { color: var(--pcm-muted); transition: transform .2s ease; }
.pcm-terms[open] summary i { transform: rotate(180deg); }
.pcm-terms-body {
    max-height: 180px;
    overflow-y: auto;
    padding: 0 14px 14px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--pcm-text);
}
.pcm-terms-body * { font-size: inherit !important; line-height: inherit !important; }

.pcm-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 20px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--pcm-text);
    cursor: pointer;
    font-weight: 400;
}
.pcm-check input { position: absolute; opacity: 0; width: 0 !important; height: 0 !important; padding: 0 !important; }
.pcm-check .pcm-check-box {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 6px;
    border: 1.5px solid #c9d0de;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    transition: background-color .15s ease, border-color .15s ease;
}
.pcm-check .pcm-check-box i { opacity: 0; }
.pcm-check input:checked + .pcm-check-box { background: var(--pcm-orange); border-color: var(--pcm-orange); }
.pcm-check input:checked + .pcm-check-box i { opacity: 1; }
.pcm-check input:focus-visible + .pcm-check-box { box-shadow: 0 0 0 4px rgba(241, 114, 69, .2); }

/* pagina /contul-meu cand nu esti logat */
.pcm-auth-page { padding: 70px 0 90px; background: var(--pcm-bg); }
.pcm-auth-page .pcm-auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--pcm-line);
    box-shadow: var(--pcm-shadow);
}
.pcm-auth-page .pcm-auth-card.is-wide { max-width: 600px; }

/* ---------- Contul meu ---------- */

.pcm-account {
    font-family: var(--pcm-font);
    color: var(--pcm-text);
    background: var(--pcm-bg);
    padding: 56px 0 90px;
    overflow: visible; /* tema pune overflow: hidden pe section, ceea ce anuleaza bara laterala sticky */
}
.pcm-account-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
@media screen and (max-width: 991.98px) {
    .pcm-account { padding: 28px 0 60px; }
    .pcm-account-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* bara laterala */
.pcm-side {
    position: sticky;
    top: 110px;
    background: #fff;
    border: 1px solid var(--pcm-line);
    border-radius: var(--pcm-radius-lg);
    box-shadow: var(--pcm-shadow-sm);
    padding: 18px 14px;
}
.pcm-side-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--pcm-line);
}
.pcm-side-profile strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--pcm-ink); line-height: 1.3; }
.pcm-side-profile small { display: block; font-size: 12px; color: var(--pcm-muted); line-height: 1.4; word-break: break-all; }
.pcm-side-group { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9aa2b4; padding: 14px 12px 6px; }
.pcm-side nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    color: var(--pcm-text);
    text-decoration: none;
    position: relative;
    transition: background-color .15s ease, color .15s ease;
}
.pcm-side nav a i { width: 18px; text-align: center; font-size: 15px; color: var(--pcm-muted); }
.pcm-side nav a:hover { background: var(--pcm-bg); color: var(--pcm-ink); }
.pcm-side nav a.is-active { background: var(--pcm-blue-soft); color: var(--pcm-blue-ink); font-weight: 500; }
.pcm-side nav a.is-active i { color: var(--pcm-blue); }
.pcm-side nav a.is-active::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--pcm-blue);
}
.pcm-side nav a.pcm-logout:hover { background: var(--pcm-red-soft); color: var(--pcm-red); }
.pcm-side nav a.pcm-logout:hover i { color: var(--pcm-red); }
.pcm-side-sep { height: 1px; background: var(--pcm-line); margin: 10px 4px; }
.pcm-badge-count {
    margin-left: auto;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--pcm-orange-soft);
    color: var(--pcm-orange-dark);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

@media screen and (max-width: 991.98px) {
    .pcm-side { position: static; padding: 12px; }
    .pcm-side-profile { padding: 4px 4px 12px; }
    .pcm-side-group, .pcm-side-sep { display: none; }
    .pcm-side nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
    .pcm-side nav::-webkit-scrollbar { display: none; }
    .pcm-side nav a { flex: 0 0 auto; margin: 0; padding: 8px 12px; border: 1px solid var(--pcm-line); border-radius: 999px; font-size: 13px; }
    .pcm-side nav a.is-active { border-color: transparent; }
    .pcm-side nav a.is-active::before { display: none; }
}

/* zona de continut */
.pcm-main { min-width: 0; }
.pcm-card {
    background: #fff;
    border: 1px solid var(--pcm-line);
    border-radius: var(--pcm-radius-lg);
    box-shadow: var(--pcm-shadow-sm);
    padding: 24px;
    overflow: hidden; /* randurile tabelelor ajung pana la marginea rotunjita */
    margin-bottom: 20px;
}
@media screen and (max-width: 575.98px) {
    .pcm-card { padding: 18px; }
}
.pcm-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.pcm-card-head h3 {
    font-family: var(--pcm-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--pcm-ink);
    margin: 0;
    line-height: 1.4;
}
.pcm-card-head p { margin: 2px 0 0; font-size: 13px; color: var(--pcm-muted); line-height: 1.5; }
.pcm-card-link { font-size: 13px; font-weight: 500; color: var(--pcm-blue); white-space: nowrap; }
.pcm-card-link:hover { color: var(--pcm-blue-dark); }
.pcm-card-link i { font-size: 11px; margin-left: 4px; }

.pcm-page-head { margin-bottom: 22px; }
.pcm-page-head h2 {
    font-family: var(--pcm-font);
    font-size: 24px;
    font-weight: 600;
    color: var(--pcm-ink);
    margin: 0 0 4px;
    letter-spacing: -.01em;
}
.pcm-page-head p { margin: 0; font-size: 14px; color: var(--pcm-muted); }

/* banner bun venit */
.pcm-welcome {
    position: relative;
    overflow: hidden;
    border-radius: var(--pcm-radius-lg);
    padding: 30px 32px;
    margin-bottom: 20px;
    color: #fff;
    background-color: var(--pcm-blue);
}
/* acelasi model grafic ca banda albastra de pe prima pagina */
.pcm-welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/pattern-doodle.png');
    background-size: 420px;
    opacity: .08;
    pointer-events: none;
}
.pcm-welcome-inner { position: relative; z-index: 1; }
.pcm-welcome-eyebrow { display: inline-block; font-size: 13px; font-weight: 500; opacity: .9; margin-bottom: 6px; }
.pcm-welcome h2 {
    font-family: var(--pcm-font);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -.01em;
}
.pcm-welcome p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 480px; }
.pcm-welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media screen and (max-width: 767.98px) {
    .pcm-welcome { padding: 24px 22px; }
    .pcm-welcome h2 { font-size: 21px; }
}

/* statistici */
.pcm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
@media screen and (max-width: 1199.98px) { .pcm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcm-stat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--pcm-line);
    border-radius: var(--pcm-radius);
    padding: 18px;
    text-decoration: none;
    box-shadow: var(--pcm-shadow-sm);
    transition: border-color .2s ease;
}
.pcm-stat:hover { border-color: #c9d6f0; text-decoration: none; }
.pcm-stat-icon {
    flex: 0 0 auto;
    width: 30px;
    padding-top: 2px;
    text-align: center;
    font-size: 26px;
    line-height: 1;
    color: var(--pcm-blue);
}
.pcm-stat-body { min-width: 0; }
.pcm-stat-label { display: block; font-size: 12.5px; color: var(--pcm-muted); margin-bottom: 2px; }
.pcm-stat-value { display: block; font-size: 22px; font-weight: 600; color: var(--pcm-ink); line-height: 1.3; }
.pcm-stat-value.is-text { font-size: 16px; padding: 3px 0 2px; }
.pcm-stat-note { display: block; font-size: 12px; color: var(--pcm-muted); margin-top: 2px; }

/* statusuri */
.pcm-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    background: var(--pcm-bg);
    color: var(--pcm-text);
}
.pcm-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pcm-pill.is-green { background: var(--pcm-green-soft); color: #0b7a5b; }
.pcm-pill.is-amber { background: var(--pcm-amber-soft); color: #9a5f00; }
.pcm-pill.is-red { background: var(--pcm-red-soft); color: #b13434; }
.pcm-pill.is-blue { background: var(--pcm-blue-soft); color: var(--pcm-blue-ink); }

/* actiuni necesare */
.pcm-callout {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    margin-bottom: 14px;
    border-radius: var(--pcm-radius);
    border: 1px solid #fbd9c9;
    background: var(--pcm-orange-soft);
}
.pcm-callout-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    color: var(--pcm-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.pcm-callout-text { flex: 1; min-width: 0; }
.pcm-callout-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--pcm-ink); }
.pcm-callout-text span { display: block; font-size: 13px; color: var(--pcm-text); line-height: 1.5; }
.pcm-callout.is-blue { border-color: #d5e3fd; background: var(--pcm-blue-soft); }
.pcm-callout.is-blue .pcm-callout-icon { color: var(--pcm-blue); }
@media screen and (max-width: 575.98px) {
    .pcm-callout { flex-wrap: wrap; }
    .pcm-callout .pcm-btn { width: 100%; }
}

.pcm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pcm-grid-2 > .pcm-card { margin-bottom: 0; }
.pcm-grid-2 + .pcm-card, .pcm-grid-2 + .pcm-grid-2 { margin-top: 20px; }
@media screen and (max-width: 1199.98px) { .pcm-grid-2 { grid-template-columns: 1fr; } }

/* liste */
.pcm-list { list-style: none; margin: 0; padding: 0; }
.pcm-list > li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--pcm-line);
}
.pcm-list > li:first-child { border-top: 0; padding-top: 0; }
.pcm-list > li:last-child { padding-bottom: 0; }
.pcm-list-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--pcm-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pcm-muted);
    font-size: 16px;
}
.pcm-list-icon img { width: 30px; height: 30px; }
.pcm-list-body { flex: 1; min-width: 0; }
.pcm-list-title { display: block; font-size: 14px; font-weight: 500; color: var(--pcm-ink); line-height: 1.4; }
.pcm-list-sub { display: block; font-size: 12.5px; color: var(--pcm-muted); line-height: 1.5; }
.pcm-list-sub i { margin-right: 4px; }
.pcm-list-text { display: block; font-size: 13.5px; color: var(--pcm-text); line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pcm-icon-btn {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--pcm-line);
    background: #fff;
    color: var(--pcm-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.pcm-icon-btn:hover { border-color: var(--pcm-blue); color: var(--pcm-blue); }

.pcm-empty { text-align: center; padding: 18px 10px 6px; }
.pcm-empty i { font-size: 26px; color: #b8c0d0; margin-bottom: 10px; display: block; }
.pcm-empty p { margin: 0; font-size: 13.5px; color: var(--pcm-muted); line-height: 1.55; }

/* date cont */
.pcm-dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 14px; }
.pcm-dl dt { font-weight: 400; color: var(--pcm-muted); }
.pcm-dl dd { margin: 0; color: var(--pcm-ink); font-weight: 500; word-break: break-word; }

.pcm-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }
@media screen and (max-width: 575.98px) {
    .pcm-form-actions .pcm-btn { width: 100%; }
}
.pcm-security-note {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--pcm-blue-soft);
    font-size: 13px;
    line-height: 1.55;
    color: var(--pcm-blue-ink);
}
.pcm-security-note i { margin-top: 3px; color: var(--pcm-blue); }

/* ---------- Componente pentru sectiunile din contul meu ---------- */

.pcm-muted { color: var(--pcm-muted); }
.pcm-pill.is-orange { background: var(--pcm-orange-soft); color: var(--pcm-orange-dark); }
.pcm-pill.is-orange::before { display: none; }

.pcm-empty.is-large { padding: 36px 16px 30px; }
.pcm-empty.is-large i { font-size: 32px; margin-bottom: 14px; }
.pcm-empty h3 { font-family: var(--pcm-font); font-size: 16px; font-weight: 600; color: var(--pcm-ink); margin: 0 0 6px; }
.pcm-empty p { max-width: 420px; margin: 0 auto; }
.pcm-empty .pcm-btn { margin-top: 18px; }

/* titlu de document (icon + titlu) */
.pcm-doc-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pcm-doc-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--pcm-bg);
    border: 1px solid var(--pcm-line);
    color: var(--pcm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* tabele */
.pcm-table-wrap { margin: 0 -24px -24px; border-top: 1px solid var(--pcm-line); }
.pcm-table-wrap.is-flush { margin-top: -24px; border-top: 0; }
@media screen and (max-width: 575.98px) {
    .pcm-table-wrap { margin: 0 -18px -18px; }
    .pcm-table-wrap.is-flush { margin-top: -18px; }
}
.pcm-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--pcm-text); }
.pcm-table th {
    padding: 11px 16px;
    background: var(--pcm-bg);
    border-bottom: 1px solid var(--pcm-line);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pcm-muted);
    text-align: left;
    white-space: nowrap;
}
.pcm-table td { padding: 14px 16px; border-top: 1px solid var(--pcm-line); vertical-align: middle; }
.pcm-table tbody tr:first-child td { border-top: 0; }
.pcm-table th:first-child, .pcm-table td:first-child { padding-left: 24px; }
.pcm-table th:last-child, .pcm-table td:last-child { padding-right: 24px; }
.pcm-table tbody tr { transition: background-color .15s ease; }
.pcm-table tbody tr:hover { background: #fafbfd; }
.pcm-table tbody tr.is-highlight { background: var(--pcm-orange-soft); }
.pcm-table strong { font-weight: 500; color: var(--pcm-ink); }
.pcm-table .pcm-col-nr { width: 64px; color: var(--pcm-muted); font-variant-numeric: tabular-nums; }
.pcm-table .pcm-col-actions { width: 1%; white-space: nowrap; text-align: right; }
.pcm-table .pcm-col-actions .pcm-icon-btn + .pcm-icon-btn { margin-left: 6px; }
.pcm-table .pcm-col-date { width: 170px; white-space: nowrap; vertical-align: top; }
.pcm-cell-icon { display: inline-flex; align-items: center; gap: 10px; }
.pcm-cell-icon i { color: var(--pcm-muted); font-size: 15px; }
a.pcm-icon-btn { text-decoration: none; }

.pcm-person { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pcm-person-avatar {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pcm-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--pcm-muted);
}
.pcm-person-avatar img { width: 30px; height: 30px; object-fit: contain; }
.pcm-person-name { font-weight: 500; color: var(--pcm-ink); }

.pcm-date { display: block; color: var(--pcm-ink); font-weight: 500; font-size: 13.5px; }
.pcm-date small { display: block; font-size: 12px; font-weight: 400; color: var(--pcm-muted); margin-top: 2px; }
.pcm-message { font-size: 14px; line-height: 1.65; color: var(--pcm-text); word-break: break-word; }
.pcm-message p { margin: 0 0 8px; }
.pcm-message p:last-child { margin-bottom: 0; }
.pcm-message a { color: var(--pcm-blue); text-decoration: underline; }

/* pe ecrane mici, randurile devin carduri cu eticheta din data-label */
@media screen and (max-width: 640px) {
    .pcm-table thead { display: none; }
    .pcm-table, .pcm-table tbody, .pcm-table tr, .pcm-table td { display: block; width: 100%; }
    .pcm-table tbody tr { padding: 14px 18px; border-top: 1px solid var(--pcm-line); }
    .pcm-table tbody tr:first-child { border-top: 0; }
    .pcm-table td { border: 0; padding: 4px 0 !important; text-align: left; }
    .pcm-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--pcm-muted);
        margin-bottom: 2px;
    }
    .pcm-table td[data-label="Elev"]::before,
    .pcm-table td[data-label="Factură"]::before,
    .pcm-table td[data-label="Nr."] { display: none; }
    .pcm-table .pcm-col-actions, .pcm-table .pcm-col-date { width: auto; text-align: left; padding-top: 8px !important; }


}

/* fapte cheie (contract) */
.pcm-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--pcm-line);
    border-radius: var(--pcm-radius);
    overflow: hidden;
}
.pcm-fact { padding: 14px 18px; border-left: 1px solid var(--pcm-line); }
.pcm-fact:first-child { border-left: 0; }
.pcm-fact-label { display: block; font-size: 12px; color: var(--pcm-muted); margin-bottom: 6px; }
.pcm-fact-value { display: block; font-size: 14px; font-weight: 500; color: var(--pcm-ink); line-height: 1.45; }
@media screen and (max-width: 767.98px) {
    .pcm-facts { grid-template-columns: 1fr; }
    .pcm-fact { border-left: 0; border-top: 1px solid var(--pcm-line); }
    .pcm-fact:first-child { border-top: 0; }
}

/* pasi numerotati */
.pcm-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.pcm-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--pcm-text); }
.pcm-steps li span {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pcm-blue-soft);
    color: var(--pcm-blue-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}
.pcm-steps strong { font-weight: 600; color: var(--pcm-ink); }

/* zona de incarcare (dropzone) */
.pcm-account .dropzone.pcm-dropzone {
    min-height: 150px;
    padding: 20px;
    border: 1.5px dashed #c9d3e6;
    border-radius: var(--pcm-radius);
    background: var(--pcm-bg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    transition: border-color .15s ease, background-color .15s ease;
}
.pcm-account .dropzone.pcm-dropzone:hover,
.pcm-account .dropzone.pcm-dropzone.dz-drag-hover { border-color: var(--pcm-blue); background: var(--pcm-blue-soft); }
.pcm-account .dropzone.pcm-dropzone .dz-message { margin: 0; font-family: var(--pcm-font); font-size: 14px; color: var(--pcm-muted); text-align: center; }
.pcm-account .dropzone.pcm-dropzone .dz-message::before {
    content: "\f574";
    display: block;
    margin-bottom: 8px;
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    font-size: 26px;
    color: var(--pcm-blue);
}
.pcm-account .dropzone.pcm-dropzone .dz-message .dz-button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
.pcm-account .dropzone.pcm-dropzone .dz-preview .dz-image { border-radius: 12px; }
.pcm-account .dropzone.pcm-dropzone .dz-remove { font-size: 12px; color: var(--pcm-red); }

/* text lung (regulament) */
.pcm-prose { font-size: 14.5px; line-height: 1.75; color: var(--pcm-text); max-width: 760px; }
.pcm-prose h1, .pcm-prose h2, .pcm-prose h3, .pcm-prose h4 {
    font-family: var(--pcm-font);
    color: var(--pcm-ink);
    font-weight: 600;
    line-height: 1.4;
    margin: 28px 0 10px;
}
.pcm-prose h1 { font-size: 20px; }
.pcm-prose h2 { font-size: 18px; }
.pcm-prose h3, .pcm-prose h4 { font-size: 16px; }
.pcm-prose > :first-child { margin-top: 0; }
.pcm-prose p { margin: 0 0 14px; }
.pcm-prose ul, .pcm-prose ol { margin: 0 0 14px; padding-left: 22px; }
.pcm-prose li { margin-bottom: 6px; }
.pcm-prose a { color: var(--pcm-blue); text-decoration: underline; }
.pcm-prose strong, .pcm-prose b { color: var(--pcm-ink); font-weight: 600; }

/* zoom */
.pcm-zoom { display: flex; align-items: center; gap: 18px; }
.pcm-zoom-text { flex: 1; min-width: 0; }
.pcm-zoom-text h3 { font-family: var(--pcm-font); font-size: 16px; font-weight: 600; color: var(--pcm-ink); margin: 0 0 4px; }
.pcm-zoom-text div, .pcm-zoom-text p { font-size: 13.5px; line-height: 1.6; color: var(--pcm-muted); margin: 0; }
@media screen and (max-width: 767.98px) {
    .pcm-zoom { flex-wrap: wrap; }
    .pcm-zoom .pcm-btn { width: 100%; }
}

/* videoclipuri */
.pcm-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media screen and (max-width: 767.98px) { .pcm-videos { grid-template-columns: 1fr; } }
.pcm-video { margin: 0; }
.pcm-video-frame { border-radius: 12px; overflow: hidden; background: #0f1a33; border: 1px solid var(--pcm-line); }
.pcm-video figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--pcm-text); }
.pcm-video figcaption p { margin: 0; }

/* fereastra de vizualizare document (contract, facturi) */
#contul_meu ~ #modal_vizualizare_document .modal-dialog {
    max-width: 960px;
    width: calc(100% - 24px);
    margin: 30px auto;
    background: transparent;
    box-shadow: none;
}
#contul_meu ~ #modal_vizualizare_document .modal-content {
    background: #fff;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    max-height: none;
    box-shadow: var(--pcm-shadow-lg);
    font-family: var(--pcm-font);
}
#contul_meu ~ #modal_vizualizare_document .modal-header {
    position: relative;
    padding: 18px 64px 18px 24px;
    border-bottom: 1px solid var(--pcm-line);
}
#contul_meu ~ #modal_vizualizare_document .modal-title { font-size: 16px; font-weight: 600; color: var(--pcm-ink); margin: 0; line-height: 1.4; }
#contul_meu ~ #modal_vizualizare_document button.close {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: var(--pcm-bg);
    color: var(--pcm-muted);
    font-size: 22px;
    line-height: 36px;
    font-weight: 300;
}
#contul_meu ~ #modal_vizualizare_document button.close:hover { background: #eceff6; color: var(--pcm-ink); }
#contul_meu ~ #modal_vizualizare_document .modal-body { padding: 0; background: var(--pcm-bg); }
#contul_meu ~ #modal_vizualizare_document embed { display: block; height: 78vh; }
#contul_meu ~ #modal_vizualizare_document #loading { margin: 0; padding: 60px 0; text-align: center; color: var(--pcm-blue); }
#contul_meu ~ #modal_vizualizare_document .modal-footer { display: none; }

/* ---------- Antet pagina (titlu + breadcrumbs) ---------- */

.pcm-hero {
    position: relative;
    padding: 150px 0 56px;
    background-color: #2f6be0;
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    color: #fff;
    font-family: var(--pcm-font);
}
/* fundal mai inchis in stanga, unde sta textul; spre dreapta raman vizibili copiii din poza */
.pcm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 52, 128, .88) 0%, rgba(30, 76, 180, .62) 45%, rgba(47, 107, 224, .12) 100%);
    pointer-events: none;
}
.pcm-hero .container { position: relative; z-index: 1; }

.pcm-hero-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.4;
}
.pcm-hero-crumbs li { display: inline-flex; align-items: center; color: #fff; font-weight: 500; }
.pcm-hero-crumbs li + li::before {
    content: "\f054";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    font-size: 10px;
    margin: 0 10px;
    color: rgba(255, 255, 255, .55);
}
.pcm-hero-crumbs a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .78); font-weight: 400; transition: color .15s ease; }
.pcm-hero-crumbs a:hover { color: #fff; }
.pcm-hero-crumbs a i { font-size: 13px; }

.pcm-hero .pcm-hero-title {
    margin: 0;
    max-width: 760px;
    font-family: 'Rubik', var(--pcm-font);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #fff;
}
.pcm-hero-sub { margin: 10px 0 0; max-width: 600px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .85); }

@media screen and (max-width: 991.98px) {
    .pcm-hero { padding: 120px 0 40px; }
    .pcm-hero .pcm-hero-title { font-size: 30px; }
    .pcm-hero::before { background: linear-gradient(90deg, rgba(20, 52, 128, .88) 0%, rgba(30, 76, 180, .7) 100%); }
}
@media screen and (max-width: 575.98px) {
    .pcm-hero .pcm-hero-title { font-size: 26px; }
    .pcm-hero-crumbs ol { font-size: 12.5px; }
}

/* ---------- Intrebari frecvente ---------- */

.pcm-faq-page { padding: 56px 0 90px; background: var(--pcm-bg); font-family: var(--pcm-font); color: var(--pcm-text); overflow: visible; }
.pcm-faq-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
@media screen and (max-width: 991.98px) {
    .pcm-faq-page { padding: 32px 0 60px; }
    .pcm-faq-grid { grid-template-columns: 1fr; gap: 24px; }
}

.pcm-faq-side { position: sticky; top: 100px; }
@media screen and (max-width: 991.98px) { .pcm-faq-side { position: static; } }
.pcm-faq-count {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--pcm-orange-soft);
    color: var(--pcm-orange-dark);
    font-size: 12px;
    font-weight: 600;
}
.pcm-faq-side h2 {
    font-family: 'Rubik', var(--pcm-font);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--pcm-ink);
    margin: 0 0 10px;
}
.pcm-faq-side > p { font-size: 14.5px; line-height: 1.65; color: var(--pcm-muted); margin: 0 0 22px; }

.pcm-faq-search { position: relative; margin-bottom: 22px; }
.pcm-faq-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #98a1b3; font-size: 15px; pointer-events: none; }
.pcm-faq-search input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 16px 0 42px;
    margin: 0;
    border: 1px solid #dfe3ec;
    border-radius: 12px;
    background: #fff;
    font-family: var(--pcm-font);
    font-size: 14.5px;
    color: var(--pcm-ink);
    box-shadow: var(--pcm-shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pcm-faq-search input::placeholder { color: #a6aec0; }
.pcm-faq-search input:focus { outline: none; border-color: var(--pcm-blue); box-shadow: 0 0 0 4px rgba(66, 132, 243, .14); }

.pcm-faq-help {
    padding: 20px;
    border-radius: var(--pcm-radius-lg);
    background: #fff;
    border: 1px solid var(--pcm-line);
    box-shadow: var(--pcm-shadow-sm);
}
.pcm-faq-help strong { display: block; font-size: 15px; font-weight: 600; color: var(--pcm-ink); margin-bottom: 4px; }
.pcm-faq-help > span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--pcm-muted); margin-bottom: 16px; }
.pcm-faq-help-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* lista de intrebari: un singur card, cu separatoare */
.pcm-faq-list {
    background: #fff;
    border: 1px solid var(--pcm-line);
    border-radius: var(--pcm-radius-lg);
    box-shadow: var(--pcm-shadow-sm);
    overflow: hidden;
}
.pcm-faq-list[hidden], .pcm-faq-item[hidden], .pcm-faq-empty[hidden] { display: none; }
.pcm-faq-item + .pcm-faq-item { border-top: 1px solid var(--pcm-line); }
.pcm-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    transition: background-color .15s ease;
}
.pcm-faq-item summary::-webkit-details-marker { display: none; }
.pcm-faq-item summary:hover { background: #fafbfd; }
.pcm-faq-item summary:focus-visible { outline: 3px solid rgba(66, 132, 243, .35); outline-offset: -3px; }
.pcm-faq-q { font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--pcm-ink); transition: color .15s ease; }
.pcm-faq-toggle {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--pcm-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pcm-muted);
    font-size: 13px;
    transition: transform .25s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pcm-faq-item summary:hover .pcm-faq-toggle { border-color: #cbd8f5; color: var(--pcm-blue); }
.pcm-faq-item[open] .pcm-faq-q { color: var(--pcm-blue-ink); }
.pcm-faq-item[open] .pcm-faq-toggle { transform: rotate(45deg); background: var(--pcm-blue); border-color: var(--pcm-blue); color: #fff; }
.pcm-faq-a {
    padding: 0 24px 22px;
    max-width: 760px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--pcm-text);
    animation: pcm-fade .25s ease;
}
.pcm-faq-a p { margin: 0 0 12px; }
.pcm-faq-a p:last-child { margin-bottom: 0; }
.pcm-faq-a ul, .pcm-faq-a ol { margin: 0 0 12px; padding-left: 20px; }
.pcm-faq-a a { color: var(--pcm-blue); text-decoration: underline; }
.pcm-faq-a strong, .pcm-faq-a b { color: var(--pcm-ink); font-weight: 600; }
@media screen and (max-width: 575.98px) {
    .pcm-faq-item summary { padding: 16px 18px; gap: 14px; }
    .pcm-faq-q { font-size: 15px; }
    .pcm-faq-a { padding: 0 18px 18px; }
}

.pcm-faq-empty {
    padding: 48px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #d5dbe7;
    border-radius: var(--pcm-radius-lg);
}
.pcm-faq-empty i { display: block; font-size: 28px; color: #b8c0d0; margin-bottom: 12px; }
.pcm-faq-empty strong { display: block; font-size: 15px; font-weight: 600; color: var(--pcm-ink); margin-bottom: 4px; }
.pcm-faq-empty span { font-size: 13.5px; color: var(--pcm-muted); }

/* ---------- Testimoniale (prima pagina) ---------- */

.pcm-testi { padding: 90px 0; background: var(--pcm-bg); font-family: var(--pcm-font); color: var(--pcm-text); }
.pcm-testi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.pcm-testi-head h2 {
    font-family: 'Rubik', var(--pcm-font);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--pcm-blue);
    margin: 0 0 12px;
}
.pcm-testi-head p { max-width: 640px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--pcm-muted); }

.pcm-testi-nav { flex: 0 0 auto; display: flex; gap: 10px; }
.pcm-testi-arrow {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--pcm-line);
    background: #fff;
    color: var(--pcm-ink);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--pcm-shadow-sm);
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
.pcm-testi-arrow:hover:not(:disabled) { background: var(--pcm-blue); border-color: var(--pcm-blue); color: #fff; }
.pcm-testi-arrow:disabled { opacity: .4; cursor: default; }
.pcm-testi.no-scroll .pcm-testi-nav,
.pcm-testi.no-scroll .pcm-testi-progress { display: none; }

/* 3 carduri pe desktop, 2 pe tableta, 1 (+ o margine din urmatorul) pe telefon */
.pcm-testi-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px;
    margin: -4px;
    scrollbar-width: none;
}
.pcm-testi-track::-webkit-scrollbar { display: none; }
.pcm-testi-track:focus-visible { outline: 3px solid rgba(66, 132, 243, .35); outline-offset: 4px; border-radius: var(--pcm-radius-lg); }

.pcm-testi-card {
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--pcm-line);
    border-radius: var(--pcm-radius-lg);
    box-shadow: var(--pcm-shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pcm-testi-card:hover { border-color: #d3dcef; box-shadow: var(--pcm-shadow); }
.pcm-testi-quote { position: absolute; top: 26px; right: 26px; font-size: 24px; color: #dbe7fd; }
.pcm-testi-body { flex: 1; }
.pcm-testi-title {
    font-family: var(--pcm-font);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--pcm-ink);
    margin: 0 40px 12px 0;
}
.pcm-testi-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--pcm-text);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pcm-testi-body > .pcm-testi-text:first-child { padding-right: 40px; }
.pcm-testi-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--pcm-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--pcm-blue);
    cursor: pointer;
}
.pcm-testi-more[hidden] { display: none; }
.pcm-testi-more i { font-size: 12px; transition: transform .2s ease; }
.pcm-testi-more:hover { color: var(--pcm-blue-dark); }
.pcm-testi-more:hover i { transform: translateX(3px); }

.pcm-testi-person { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--pcm-line); }
.pcm-testi-avatar {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pcm-bg);
    border: 1px solid var(--pcm-line);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.pcm-testi-avatar img { width: 40px; height: 40px; object-fit: contain; }
.pcm-testi-person strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--pcm-ink); }
.pcm-testi-person small { display: block; font-size: 13px; color: var(--pcm-muted); }

.pcm-testi-progress { max-width: 240px; height: 4px; margin-top: 28px; border-radius: 4px; background: #dfe6f3; overflow: hidden; }
.pcm-testi-progress span { display: block; width: 33%; height: 100%; border-radius: 4px; background: var(--pcm-blue); transition: transform .1s linear; }

@media screen and (max-width: 1199.98px) {
    .pcm-testi-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media screen and (max-width: 767.98px) {
    .pcm-testi { padding: 60px 0; }
    .pcm-testi-head { margin-bottom: 24px; }
    .pcm-testi-head h2 { font-size: 30px; }
    .pcm-testi-head p { font-size: 15px; }
    .pcm-testi-nav { display: none; }
    .pcm-testi-track { grid-auto-columns: 86%; gap: 16px; }
    .pcm-testi-card { padding: 22px; min-height: 320px; }
}

/* fereastra cu textul complet */
.pcm-testi-modal .modal-dialog { max-width: 640px; }
.pcm-testi-modal-body { padding: 32px 36px 34px; font-family: var(--pcm-font); text-align: left; }
.pcm-testi-modal .pcm-testi-person { margin: 0 0 20px; padding: 0 48px 20px 0; border-top: 0; border-bottom: 1px solid var(--pcm-line); }
.pcm-testi-modal-text { max-height: 60vh; overflow-y: auto; font-size: 15px; line-height: 1.8; color: var(--pcm-text); }
.pcm-testi-modal-text p { margin: 0 0 14px; }
.pcm-testi-modal-text p:last-child { margin-bottom: 0; }
.pcm-testi-modal-text strong { font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--pcm-ink); }
@media screen and (max-width: 575.98px) {
    .pcm-testi-modal-body { padding: 26px 22px 24px; }
}

/* ---------- Pagina Despre ---------- */

/* navigatie in pagina, lipita sub headerul fix */
.pcm-about-tabs {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--pcm-line);
    font-family: var(--pcm-font);
}
@media screen and (max-width: 991.98px) { .pcm-about-tabs { top: 68px; } }
.pcm-about-tabs ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.pcm-about-tabs ul::-webkit-scrollbar { display: none; }
.pcm-about-tabs a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pcm-muted);
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}
.pcm-about-tabs a:hover { background: var(--pcm-bg); color: var(--pcm-ink); }
.pcm-about-tabs a.is-active { background: var(--pcm-blue-soft); color: var(--pcm-blue-ink); }

.pcm-about { padding: 80px 0; background: #fff; font-family: var(--pcm-font); color: var(--pcm-text); scroll-margin-top: 130px; }
.pcm-about.is-soft { background: var(--pcm-bg); }
@media screen and (max-width: 767.98px) { .pcm-about { padding: 50px 0; } }

.pcm-about-head { margin-bottom: 36px; }
.pcm-about-head h2,
.pcm-about-cms h2 {
    font-family: 'Rubik', var(--pcm-font);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pcm-blue);
    margin: 0 0 14px;
    padding: 0;
}
.pcm-about-head p { max-width: 640px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--pcm-muted); }
@media screen and (max-width: 767.98px) {
    .pcm-about-head h2, .pcm-about-cms h2 { font-size: 28px; }
}

/* continutul din admin (CKEditor): tipografie comuna, indiferent de structura exacta */
.pcm-about-cms .feature_text { padding: 0; }
.pcm-about-cms .feature_text p, .pcm-about-cms p { padding: 0; margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: var(--pcm-text); }
.pcm-about-cms h2 + br, .pcm-about-cms h2 + br + br { display: none; }
.pcm-about-cms h2 { margin-bottom: 24px; }
.pcm-about-cms h3, .pcm-about-cms h4 { font-family: var(--pcm-font); color: var(--pcm-ink); }
.pcm-about-cms a { color: var(--pcm-blue); text-decoration: underline; }
.pcm-about-cms img { max-width: 100%; height: auto; }

/* viziune + misiune */
.pcm-about-viziune .row { align-items: center; }
.pcm-about-viziune .s2-about_img { text-align: center; }
.pcm-about-viziune .s2-about_img img { display: block; width: 100%; max-width: 420px; margin: 0 auto; }
.pcm-about-viziune .caseta_mare_text2 {
    margin: 0 0 28px !important;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--pcm-text);
}
.pcm-about-viziune .caseta_mare_text2 h4 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pcm-orange-dark);
}

/* valorile: carduri cu iconite, 2 pe rand */
.pcm-values-head { flex: 0 0 100%; max-width: 100%; margin: 64px 0 24px; padding: 0 15px; } /* se afla in .row, alaturi de coloana cu valorile */
.pcm-values-head h3 { font-family: 'Rubik', var(--pcm-font); font-size: 28px; font-weight: 700; color: var(--pcm-ink); margin: 0 0 6px; }
.pcm-values-head p { margin: 0; font-size: 15px; color: var(--pcm-muted); }
.pcm-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pcm-values > .caseta_mare_text:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media screen and (max-width: 767.98px) { .pcm-values { grid-template-columns: 1fr; } }
.pcm-about-viziune .caseta_mare_text {
    margin: 0 !important;
    padding: 28px;
    background: #f6f9ff;
    border: 1px solid #d8e4fa;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 28px -20px rgba(66, 132, 243, .45);
    font-size: 15px;
    line-height: 1.75;
    color: var(--pcm-text);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pcm-about-viziune .caseta_mare_text:hover { border-color: #bcd2f8; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 16px 32px -18px rgba(66, 132, 243, .55); }
.pcm-about-viziune .caseta_mare_text h4 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 600;
    color: var(--pcm-blue);
}
/* iconita e desenata ca masca, colorata cu albastrul brandului (fisierele SVG au culori diferite) */
.pcm-value-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    background-color: var(--pcm-blue);
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

/* povestea: coloana de lectura + fir cronologic */
.pcm-about-poveste { max-width: 820px; margin: 0 auto; }
.pcm-about-poveste .caseta_mare_text2 { margin: 0 0 36px !important; font-size: 18.5px; line-height: 1.75; color: var(--pcm-ink); }
.pcm-about-poveste .despre_noi { font-size: 16px; line-height: 1.85; color: var(--pcm-text); }
.pcm-about-poveste .despre_noi + .despre_noi {
    position: relative;
    margin: 0 0 0 7px !important;
    padding: 0 0 32px 34px;
    border-left: 2px solid #d6e2f8;
}
.pcm-about-poveste .despre_noi + .despre_noi:last-child { padding-bottom: 0; border-left-color: transparent; }
.pcm-about-poveste .despre_noi + .despre_noi::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--pcm-blue);
}
@media screen and (max-width: 575.98px) {
    .pcm-about-poveste .caseta_mare_text2 { font-size: 17px; }
    .pcm-about-poveste .despre_noi + .despre_noi { padding-left: 24px; }
}

/* parteneri */
.pcm-partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
@media screen and (max-width: 991.98px) { .pcm-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 575.98px) { .pcm-partners { grid-template-columns: 1fr; } }
.pcm-partner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--pcm-line);
    border-radius: 20px;
    box-shadow: var(--pcm-shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pcm-partner:hover { border-color: #c9d6f0; box-shadow: var(--pcm-shadow); }
.pcm-partner-logo { display: flex; align-items: center; height: 72px; margin-bottom: 18px; }
.pcm-partner-logo img { width: auto; max-width: 220px; max-height: 64px; object-fit: contain; }
.pcm-partner-desc { flex: 1; font-size: 15px; font-weight: 500; line-height: 1.55; color: var(--pcm-ink); }
.pcm-partner-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--pcm-line);
    font-size: 13px;
    color: var(--pcm-blue);
}
.pcm-partner-link i { font-size: 12px; }

/* ---------- Notificari (toastr) ---------- */

#toast-container.toast-top-center { top: 20px; }
#toast-container.toast-top-center > .toast {
    width: 420px;
    max-width: calc(100vw - 32px);
    min-width: 0;
    min-height: 0;
    margin: 0 auto 10px;
    padding: 14px 44px 16px 62px;
    background-color: #fff;
    background-image: none !important;
    color: var(--pcm-text);
    border: 1px solid var(--pcm-line);
    border-radius: 14px;
    box-shadow: 0 12px 32px -12px rgba(16, 24, 40, .28);
    opacity: 1;
    font-family: var(--pcm-font);
}
#toast-container.toast-top-center > .toast:hover { box-shadow: 0 12px 32px -12px rgba(16, 24, 40, .28); }
#toast-container.toast-top-center > .toast::before {
    position: absolute;
    left: 18px;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    content: "\f129";
    background: var(--pcm-blue-soft);
    color: var(--pcm-blue);
}
#toast-container.toast-top-center > .toast-success::before { content: "\f00c"; background: var(--pcm-green-soft); color: var(--pcm-green); }
#toast-container.toast-top-center > .toast-warning::before,
#toast-container.toast-top-center > .toast-error::before { content: "\f12a"; background: var(--pcm-red-soft); color: var(--pcm-red); }
#toast-container.toast-top-center > .toast-warning,
#toast-container.toast-top-center > .toast-error { border-color: #f3caca; }
#toast-container.toast-top-center > .toast-warning .toast-title,
#toast-container.toast-top-center > .toast-error .toast-title { color: #b13434; }
#toast-container.toast-top-center .toast-title { font-size: 14px; font-weight: 600; color: var(--pcm-ink); margin: 0 0 2px; line-height: 1.4; }
#toast-container.toast-top-center .toast-message { font-size: 13px; color: var(--pcm-muted); line-height: 1.5; }
#toast-container.toast-top-center .toast-message a,
#toast-container.toast-top-center .toast-message strong { color: var(--pcm-ink); }
#toast-container.toast-top-center .toast-close-button {
    position: absolute;
    top: 12px;
    right: 14px;
    float: none;
    font-size: 20px;
    font-weight: 300;
    color: #98a1b3;
    text-shadow: none;
    opacity: 1;
}
#toast-container.toast-top-center .toast-close-button:hover { color: var(--pcm-ink); }
#toast-container.toast-top-center .toast-progress { height: 3px; opacity: 1; background-color: var(--pcm-blue); }
#toast-container.toast-top-center > .toast-success .toast-progress { background-color: var(--pcm-green); }
#toast-container.toast-top-center > .toast-warning .toast-progress,
#toast-container.toast-top-center > .toast-error .toast-progress { background-color: var(--pcm-red); }

/* ---------- Buton plutitor catre platforma Study ---------- */

.pcm-study-float {
    position: fixed;
    top: 25%;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px 8px 8px;
    border-radius: 14px 0 0 14px;
    background: var(--pcm-orange);
    color: #fff;
    font-family: var(--pcm-font);
    text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(241, 114, 69, .7);
    /* inchis: se vede doar patratul cu "S" (8px + 42px + 8px) */
    transform: translateX(calc(100% - 58px));
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .2s ease;
}
.pcm-study-float:hover,
.pcm-study-float:focus-visible {
    transform: none;
    background: var(--pcm-orange-dark);
    color: #fff;
    text-decoration: none;
}
.pcm-study-float:focus-visible { outline: 3px solid rgba(241, 114, 69, .4); outline-offset: 2px; }

.pcm-study-mark {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rubik', var(--pcm-font);
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    padding-bottom: 2px;
}
.pcm-study-text { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; line-height: 1.25; }
.pcm-study-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.pcm-study-text strong { font-size: 14.5px; font-weight: 600; color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .pcm-study-float { transition: none; }
}
