/* Numai compozitia dashboardului. Tema si controalele sunt in css/comune/. */
.ec-topbar {display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.65rem 1rem}
.ec-topbar-db {font-size:1.15rem;font-weight:600;text-decoration:none}
.ec-topbar-db span {font-family:"Segoe UI",Arial,sans-serif;font-size:.85rem;font-weight:400;margin-left:.5rem}
.ec-topbar-username {font-size:.8rem}
.ec-demo-note {font-size:.8rem;color:#526477;padding:.35rem .75rem;margin-bottom:.65rem;border-left:3px solid #b9c4cf;background:#f5f8fb}
.ec-dashboard-main>.nav {margin:0 .75rem}
.ec-dashboard-main .ec-formedit {max-width:1140px}
.ec-dashboard-main .ec-formedit.ec-login {max-width:600px}
.ec-formedit :is(.form-label,.form-control,.form-select,.btn),.modal :is(.form-label,.form-control,.form-select,.btn) {font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
.ec-formedit .form-label {font-size:13px;font-weight:500;color:#40566b}
.ec-formedit-header>div {min-width:0}
.ec-formedit-header h1 {overflow-wrap:anywhere}
.ec-formedit-header .ec-required-legend {display:block;margin-top:.2rem}
.ec-formedit fieldset {padding:.75rem;margin-bottom:.75rem;border:1px solid var(--ec-nomenclature-group-border);border-radius:6px}
.ec-formedit legend {float:none;width:auto;margin:0;padding:0 .25rem;font-family:inherit;font-size:.8rem;font-weight:400;color:#526477}
.ec-formedit .ec-formedit-actions {flex-wrap:wrap;align-items:center}
.ec-formedit small,.muted {font-size:.8rem;color:#526477}
.ec-formedit .field small {display:block;margin-top:.2rem}
.ec-formedit h2 {font-size:.9rem;margin:1rem 0 .5rem}
.ec-formedit p {margin-bottom:.5rem}
.ec-formlist .ec-formlist-search input[type=search] {width:260px;max-width:100%}
.ec-formlist .ec-icon-btn {display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:3px}
.ec-formlist .ec-formlist-table {border-color:#dce5ee}
.ec-formlist table {min-width:620px;margin:0}
.ec-formlist thead th {position:sticky;top:0;background:#f0f5f9;z-index:1}
.ec-formlist td {overflow-wrap:anywhere}
.ec-formlist .empty {text-align:center;color:#526477;padding:2rem}
.ec-formlist-pager>form {display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.ec-pagination-status {font-size:.8rem}
.steps {list-style:none;display:flex;gap:.35rem;flex-wrap:wrap;padding:0}
.steps li {font-size:.75rem;padding:.35rem .55rem;background:#f5f8fb;border:1px solid #dce5ee;border-radius:4px}
.steps [aria-current] {background:#e2f1f4;border-color:#88b8c5;font-weight:600}
.ec-wizard-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:.8rem 0}
.ec-wizard-steps li {overflow-wrap:anywhere;min-width:0}
.ec-wizard-steps li span {display:block;font-size:.95rem;margin-bottom:.2rem}
.ec-wizard-steps .ec-step-done {border-color:#88b8c5}
.ec-wizard-steps .ec-step-done::after {content:' · Confirmat';font-weight:500}
.ec-wizard-progress {height:8px;background:#e7edf3}
.ec-wizard-progress .progress-bar {background:#526477;transition:width .2s ease}
.ec-wizard-current {padding:1rem;margin:.8rem 0;border:1px solid var(--ec-nomenclature-group-border);border-radius:6px}
.ec-wizard-current h2 {font-size:1rem}
.ec-wizard-instructions {padding-left:1.3rem}
.ec-wizard-instructions li {margin:.35rem 0}
#assistant-work-status:empty {display:none}
#recordModal .modal-footer {justify-content:flex-start}
@media(prefers-reduced-motion:reduce) {.ec-wizard-progress .progress-bar {transition:none}.ec-wizard-current .spinner-border {animation:none}}
@media(max-width:575.98px) {.ec-wizard-steps {grid-template-columns:repeat(2,minmax(0,1fr))}.ec-wizard-current {padding:.65rem}}
.status-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:.65rem}
.status-grid dt {font-size:.75rem;color:#526477;font-weight:500}
.status-grid dd {font-size:.8rem;overflow-wrap:anywhere;margin:.2rem 0}
.ec-installation-requirements,.ec-installation-plan {padding:.1rem .75rem .65rem;border:1px solid var(--ec-nomenclature-group-border);border-radius:6px;margin:.75rem 0}
details {margin-top:1rem}
summary {list-style:none;color:#315b7b;cursor:pointer}
summary::-webkit-details-marker {display:none}
summary::before {content:'+ ';font-weight:600}
details[open]>summary::before {content:'− '}
details p,details li {overflow-wrap:anywhere}
.invalid-feedback:not([hidden]) {display:block}
.ec-editor-action>img {object-fit:contain}
.ec-form-close>img {flex-shrink:0;object-fit:contain}
.modal .btn-close.ec-static-close {background-image:none;display:flex;align-items:center;justify-content:center}
:is(a,button,input,select,summary,[tabindex]):focus-visible {outline:2px solid #247b8e;outline-offset:2px}
[hidden] {display:none!important}
@media(max-width:575.98px) {
 .ec-dashboard-main {padding:8px!important}
 .ec-dashboard-main .ec-formedit {padding:0}
 .ec-formlist .ec-formlist-search input[type=search] {width:100%}
 .ec-topbar {padding:.65rem}
 .ec-formlist .ec-formlist-pager {flex-wrap:wrap}
}

.ec-installation-log {white-space:pre-wrap;overflow-wrap:anywhere;max-height:24rem;overflow:auto;padding:.75rem;border:1px solid var(--ec-panel-border);background:#f5f8fb;font:13px/1.55 Consolas,monospace;}
.ec-dashboard-navigation {gap:.25rem;border-bottom:1px solid var(--ec-panel-border);padding-bottom:.4rem;}
.ec-dashboard-navigation .nav-link {color:#40566b;border-radius:.25rem;}
.ec-dashboard-navigation .nav-link.active {background:var(--ec-panel-header-bg);color:#1f2d3d;font-weight:600;}
