/* ============================================================
   AV ONAC — Tema ECRIS 2007 (Courts)
   Se incarca DUPA build-ul Vite/Tailwind si suprascrie global.
   Nu modifica nicio functionalitate — doar aspect.
   ============================================================ */

/* ---------- Baza (stil MSN / Windows XP Luna) ---------- */
body {
    font-family: Tahoma, Verdana, Arial, sans-serif !important;
    font-size: 13px;
    color: #000;
    background: #eef5fd;
    -webkit-font-smoothing: auto;
}

/* Iconite stil XP */
.ecris-ico {
    font-style: normal;
    margin-right: 6px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}
.ecris-menu-item .ecris-ico { margin-right: 8px; }

main a:not([class*="bg-"]):not(.ecris-btn):not(.ecris-menu-item) {
    color: #1553a5;
}
main a:not([class*="bg-"]):hover {
    text-decoration: underline;
}

/* Colturi drepte, aspect 2007 */
main [class*="rounded"] {
    border-radius: 2px !important;
}

/* ---------- Masthead (bara albastra glossy, stil XP Luna) ---------- */
.ecris-top {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 46%, rgba(0, 0, 30, 0.08) 52%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(to bottom, #4a90e8 0%, #2668cf 45%, #1450b4 55%, #2668cf 100%);
    border-bottom: 2px solid #0c3d92;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    padding: 7px 14px 6px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ecris-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none !important;
    white-space: nowrap;
}
.ecris-butterfly {
    height: 36px;
    width: auto;
    margin-right: 4px;
    align-self: center;
    filter: drop-shadow(0 1px 2px rgba(10, 40, 90, 0.5));
    animation: msn-flutter 3.2s ease-in-out infinite;
    transform-origin: 50% 80%;
}
@keyframes msn-flutter {
    0%, 100% { transform: rotate(-3deg) translateY(0) scaleX(1); }
    20%      { transform: rotate(2deg) translateY(-2px) scaleX(0.92); }
    40%      { transform: rotate(-2deg) translateY(-3px) scaleX(1); }
    60%      { transform: rotate(3deg) translateY(-2px) scaleX(0.94); }
    80%      { transform: rotate(-1deg) translateY(-1px) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .ecris-butterfly { animation: none; }
}
.ecris-logo .ecris-logo-main {
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
    color: #ffffff;
    text-shadow: 1px 2px 2px rgba(10, 40, 90, 0.55);
    letter-spacing: -1px;
    line-height: 1;
}
.ecris-logo .ecris-logo-sub {
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #eaf2fc;
    text-shadow: 1px 1px 1px rgba(10, 40, 90, 0.5);
}
.ecris-top-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ecris-username {
    color: #d6e5f8;
    font-size: 12.5px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(10, 40, 90, 0.5);
    text-decoration: none !important;
}
.ecris-username:hover { color: #ffffff; }
.ecris-rolebox {
    background: #ffffff;
    border: 1px solid #16407c;
    font-size: 12px;
    padding: 3px 22px 3px 8px;
    color: #000;
    min-width: 130px;
    background-image: linear-gradient(45deg, transparent 50%, #444 50%), linear-gradient(135deg, #444 50%, transparent 50%);
    background-position: calc(100% - 12px) 55%, calc(100% - 8px) 55%;
    background-size: 4px 4px;
    background-repeat: no-repeat;
}
.ecris-help,
.ecris-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 22px;
    font-weight: bold;
    font-size: 13px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none !important;
    border: 1px solid;
}
.ecris-help {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.15) 100%),
        linear-gradient(to bottom, #5493e6, #1c56b0);
    border-color: #15437e;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.ecris-close {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.12) 100%),
        linear-gradient(to bottom, #ee7364, #bd2312);
    border-color: #8c1e12;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.ecris-help:hover,
.ecris-close:hover {
    border-color: #e8a33d;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px 1px rgba(255, 183, 52, 0.75);
}

/* ---------- Meniul principal (butoane glossy stil MSN/XP) ---------- */
.ecris-nav {
    background: linear-gradient(to bottom, #fdfeff 0%, #e3eefa 45%, #cfe1f4 55%, #bcd4ee 100%);
    border-bottom: 1px solid #8bb0d8;
    box-shadow: inset 0 1px 0 #ffffff;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}
.ecris-btn {
    display: inline-flex;
    align-items: center;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.22) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.12) 100%),
        linear-gradient(to bottom, #5493e6 0%, #2e6bc9 50%, #1c56b0 51%, #2e6bc9 100%);
    border: 1px solid #15437e;
    border-radius: 4px;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 13px;
    text-decoration: none !important;
    text-shadow: 1px 1px 1px rgba(10, 40, 90, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 1px 2px rgba(20, 50, 100, 0.3);
    cursor: pointer;
    white-space: nowrap;
    transition: box-shadow 0.1s ease;
}
.ecris-btn:hover {
    border-color: #e8a33d;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 5px 1px rgba(255, 183, 52, 0.75);
}
.ecris-btn.active {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 40, 0.12) 100%),
        linear-gradient(to bottom, #1c56b0 0%, #2e6bc9 100%);
    box-shadow: inset 0 1px 3px rgba(0, 20, 60, 0.5);
}
.ecris-menu {
    position: relative;
    display: inline-block;
}
.ecris-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #7a99c8;
    border-radius: 0 4px 4px 4px;
    box-shadow: 3px 4px 6px rgba(0, 20, 60, 0.35);
    padding: 3px;
}
.ecris-menu:hover .ecris-menu-panel,
.ecris-menu:focus-within .ecris-menu-panel {
    display: block;
}
.ecris-menu-item {
    display: block;
    padding: 6px 10px;
    font-size: 12px;
    color: #1b3c73 !important;
    font-weight: normal;
    text-decoration: none !important;
    border-radius: 3px;
}
.ecris-menu-item:hover {
    background: linear-gradient(to bottom, #3d81e4, #2261c4);
    color: #ffffff !important;
}
.ecris-menu-item:hover .ecris-ico { filter: drop-shadow(0 1px 1px rgba(0, 0, 30, 0.6)); }

/* Cautare in bara de meniu */
.ecris-searchbox {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ecris-searchbox input[type="text"] {
    border: 1px solid #16407c !important;
    border-radius: 0 !important;
    padding: 4px 6px !important;
    font-size: 12.5px !important;
    width: 210px;
    background: #ffffff !important;
}

/* ---------- Titlul paginii (rosu inchis, serif) ---------- */
.ecris-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: bold;
    color: #a01f1f;
    margin: 14px 0 10px 0;
}
.ecris-title a { color: #7b2fa8; text-decoration: underline; }

/* ---------- Continut / panouri ---------- */
main {
    background: transparent;
}
main .bg-white { background-color: #ffffff; }

/* Gradientii colorati Tailwind (tile-uri dashboard, headere sectiuni) -> albastru glossy Luna */
main [class*="bg-gradient-to"] {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.14) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(to bottom, #4a8ade 0%, #2764bd 55%, #1b52a6 100%) !important;
    border: 1px solid #15437e !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 3px rgba(20, 50, 100, 0.3) !important;
}
main [class*="bg-gradient-to"] p,
main [class*="bg-gradient-to"] h3,
main [class*="bg-gradient-to"] span:not([class*="bg-"]) {
    color: #ffffff !important;
    text-shadow: 1px 1px 1px rgba(10, 40, 90, 0.5);
}
main [class*="bg-gradient-to"] a {
    color: #d6e5f8 !important;
}
main [class*="bg-gradient-to"] a:hover {
    color: #ffffff !important;
}

/* Cardurile Tailwind devin panouri Luna cu bordura */
main .shadow,
main .shadow-sm,
main .shadow-md,
main .shadow-lg {
    box-shadow: 0 1px 3px rgba(30, 60, 110, 0.25) !important;
    border: 1px solid #8bb0d8;
    border-radius: 4px !important;
    background-color: #ffffff;
}

/* Barele de titlu din interiorul panourilor */
main .bg-gray-50.border-b,
main .border-b.bg-gray-50 {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(to bottom, #4a8ade 0%, #2764bd 55%, #1b52a6 100%) !important;
    border-color: #15437e !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
main .bg-gray-50.border-b *,
main .border-b.bg-gray-50 * {
    color: #ffffff !important;
}

/* Titluri de sectiune */
main h2:not(.ecris-title),
main h3 {
    color: #17365d;
    font-weight: bold;
}

/* ---------- Tabele stil ECRIS ---------- */
main table {
    border-collapse: collapse;
    width: 100%;
}
main table thead,
main table thead tr,
main table thead th {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(to bottom, #4a8ade 0%, #2764bd 55%, #1b52a6 100%) !important;
}
main table thead th {
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 1px rgba(10, 40, 90, 0.5);
    border: 1px solid #26538f !important;
    padding: 6px 10px !important;
    letter-spacing: 0 !important;
}
main table tbody td {
    border: 1px solid #c6d3e1 !important;
    padding: 5px 10px !important;
    font-size: 12.5px;
}
main table tbody tr:nth-child(even) {
    background: #eef3fa !important;
}
main table tbody tr:hover {
    background: #dfeaf7 !important;
}

/* ---------- Formulare clasice ---------- */
main input[type="text"],
main input[type="email"],
main input[type="password"],
main input[type="number"],
main input[type="date"],
main input[type="datetime-local"],
main input[type="time"],
main input[type="search"],
main input[type="tel"],
main input[type="url"],
main select,
main textarea {
    border: 1px solid #7f9db9 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: #ffffff;
    padding: 4px 6px;
    font-size: 13px;
    font-family: Verdana, Tahoma, Arial, sans-serif;
}
main select {
    padding-right: 28px !important;
}
main input:focus,
main select:focus,
main textarea:focus {
    outline: 1px solid #316ac5 !important;
    border-color: #316ac5 !important;
    --tw-ring-shadow: none !important;
    box-shadow: none !important;
}
main label {
    color: #17365d !important;
    font-weight: bold !important;
    font-size: 12.5px !important;
}
main input[type="checkbox"],
main input[type="radio"] {
    accent-color: #2a5da8;
}

/* ---------- Butoane (remapare utilitare Tailwind) ---------- */

/* Primare (albastru/indigo Tailwind) -> verde inchis ECRIS */
main a[class*="bg-blue-6"], main button[class*="bg-blue-6"],
main a[class*="bg-blue-7"], main button[class*="bg-blue-7"],
main a[class*="bg-indigo-"], main button[class*="bg-indigo-"],
main a[class*="bg-green-6"], main button[class*="bg-green-6"],
main a[class*="bg-green-7"], main button[class*="bg-green-7"],
main a[class*="bg-gray-8"], main button[class*="bg-gray-8"],
main a[class*="bg-emerald-"], main button[class*="bg-emerald-"],
.btn-ecris-green {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.2) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.12) 100%),
        linear-gradient(to bottom, #6fc455 0%, #3f9a2e 50%, #308424 51%, #3f9a2e 100%) !important;
    border: 1px solid #24631c !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 1px rgba(10, 60, 10, 0.55);
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(20, 60, 20, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
main a[class*="bg-blue-6"]:hover, main button[class*="bg-blue-6"]:hover,
main a[class*="bg-indigo-"]:hover, main button[class*="bg-indigo-"]:hover,
main a[class*="bg-green-6"]:hover, main button[class*="bg-green-6"]:hover,
main a[class*="bg-gray-8"]:hover, main button[class*="bg-gray-8"]:hover,
.btn-ecris-green:hover {
    border-color: #e8a33d !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px 1px rgba(255, 183, 52, 0.75) !important;
}

/* Secundare (gri Tailwind) -> verde deschis ECRIS */
main a[class*="bg-gray-6"], main button[class*="bg-gray-6"],
main a[class*="bg-gray-5"], main button[class*="bg-gray-5"],
main a[class*="bg-gray-2"], main button[class*="bg-gray-2"],
main a[class*="bg-gray-1"], main button[class*="bg-gray-1"],
main a[class*="bg-white"][class*="border"], main button[class*="bg-white"][class*="border"],
.btn-ecris-lightgreen {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.2) 100%),
        linear-gradient(to bottom, #d9f5c8 0%, #9be07c 50%, #7fd45f 51%, #90db6e 100%) !important;
    border: 1px solid #58a548 !important;
    color: #14510f !important;
    font-weight: bold !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(40, 80, 30, 0.25) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
main a[class*="bg-gray-6"]:hover, main button[class*="bg-gray-6"]:hover,
main a[class*="bg-gray-2"]:hover, main button[class*="bg-gray-2"]:hover,
.btn-ecris-lightgreen:hover {
    border-color: #e8a33d !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 5px 1px rgba(255, 183, 52, 0.7) !important;
}

/* Pericol (rosu) -> rosu ECRIS */
main a[class*="bg-red-5"], main button[class*="bg-red-5"],
main a[class*="bg-red-6"], main button[class*="bg-red-6"],
main a[class*="bg-red-7"], main button[class*="bg-red-7"],
.btn-ecris-red {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.18) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(to bottom, #ee7364 0%, #d13c28 50%, #bd2312 51%, #cf3220 100%) !important;
    border: 1px solid #8c1e12 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 1px rgba(90, 10, 5, 0.5);
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 2px rgba(90, 20, 10, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
main a[class*="bg-red-6"]:hover, main button[class*="bg-red-6"]:hover,
.btn-ecris-red:hover {
    border-color: #e8a33d !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 5px 1px rgba(255, 183, 52, 0.75) !important;
}

/* Badge-urile pastel (bg-*-100) raman lizibile, doar patrate */
main [class*="bg-blue-1"], main [class*="bg-green-1"],
main [class*="bg-red-1"], main [class*="bg-yellow-1"],
main [class*="bg-gray-1"][class*="text-"] {
    border-radius: 2px !important;
}

/* ---------- Clase mostenite din vechiul layout ---------- */
.card {
    background: #ffffff;
    border: 1px solid #9fb6cd;
    border-radius: 2px;
}
.btn-primary {
    background: linear-gradient(to bottom, #58b558 0%, #3d8f3d 50%, #2f7d2f 51%, #3a8a3a 100%);
    border: 1px solid #1f5c1f;
    color: #ffffff;
    font-weight: bold;
    padding: 5px 14px;
    font-size: 12.5px;
    border-radius: 3px;
    text-shadow: 1px 1px 1px rgba(10, 60, 10, 0.55);
}
.btn-primary:hover {
    background: linear-gradient(to bottom, #6cc76c 0%, #4aa04a 50%, #3a8a3a 51%, #47a047 100%);
}

/* ---------- Fisa dosar (sectiuni numerotate stil ECRIS) ---------- */
.fisa-section {
    border: 1px solid #8bb0d8;
    border-radius: 4px;
    background: #ffffff;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(30, 60, 110, 0.25);
}
.fisa-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(to bottom, #4a8ade 0%, #2764bd 55%, #1b52a6 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.fisa-bar-title {
    color: #ffffff;
    font-weight: bold;
    font-size: 12.5px;
    text-shadow: 1px 1px 1px rgba(10, 40, 90, 0.5);
}
.fisa-body { padding: 10px 12px; }
.fisa-kv td {
    padding: 3px 10px 3px 0;
    font-size: 12.5px;
    vertical-align: top;
    border: 0 !important;
}
.fisa-kv td.k {
    color: #17365d;
    font-weight: bold;
    white-space: nowrap;
    width: 1%;
    padding-right: 14px;
}

/* ---------- Fundal justitie (balanta, blur discret) ---------- */
body::after {
    content: '';
    position: fixed;
    right: -60px;
    bottom: -40px;
    width: 560px;
    height: 560px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.07;
    filter: blur(2px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke='%231b52a6' stroke-width='0.7' fill='%231b52a6' stroke-linecap='round'%3E%3Cpath d='M12 3.2 v16' fill='none'/%3E%3Cpath d='M5 6.2 h14' fill='none'/%3E%3Cpath d='M8.5 20.4 h7' stroke-width='1.1' fill='none'/%3E%3Cpath d='M5 6.2 l-2.6 6.2 a3.1 3.1 0 0 0 5.2 0 z' fill-opacity='0.5'/%3E%3Cpath d='M19 6.2 l-2.6 6.2 a3.1 3.1 0 0 0 5.2 0 z' fill-opacity='0.5'/%3E%3Ccircle cx='12' cy='4.4' r='1.4' fill-opacity='0.6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Kanban lucrari ---------- */
.kanban {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
}
.kanban-col {
    flex: 1 1 0;
    min-width: 190px;
    background: #e8f0fa;
    border: 1px solid #8bb0d8;
    border-radius: 4px;
}
.kanban-head {
    padding: 6px 10px;
    font-size: 11.5px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(10, 40, 90, 0.5);
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.1) 100%),
        linear-gradient(to bottom, #4a8ade 0%, #2764bd 55%, #1b52a6 100%);
    border-radius: 3px 3px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kanban-count {
    background: rgba(255, 255, 255, 0.9);
    color: #17365d;
    border-radius: 8px;
    padding: 0 7px;
    font-size: 11px;
}
.kanban-body { padding: 6px; min-height: 60px; }
.kanban-card {
    display: block;
    background: #ffffff;
    border: 1px solid #aebfd4;
    border-radius: 3px;
    padding: 6px 8px;
    margin-bottom: 6px;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(30, 60, 110, 0.2);
}
.kanban-card:hover { border-color: #e8a33d; box-shadow: 0 0 4px 1px rgba(255, 183, 52, 0.6); }
.kanban-title { font-size: 12px; font-weight: bold; color: #17365d; }
.kanban-meta { font-size: 10.5px; color: #5a7ba6; margin-top: 2px; }
.kanban-late { color: #c22011; font-weight: bold; }
.kanban-empty { text-align: center; color: #8bb0d8; padding: 12px 0; }

/* ---------- Timeline activitate cauza ---------- */
.timeline-item {
    position: relative;
    padding: 4px 0 4px 18px;
    border-left: 2px solid #c6d3e1;
    margin-left: 6px;
}
.timeline-dot {
    position: absolute;
    left: -6px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a8ade;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #2764bd;
}
.timeline-dot.tip-transformare { background: #e8a33d; box-shadow: 0 0 0 1px #a07818; }
.timeline-dot.tip-inchidere { background: #c22011; box-shadow: 0 0 0 1px #8c1e12; }
.timeline-dot.tip-etapa { background: #3f9a2e; box-shadow: 0 0 0 1px #24631c; }

/* ---------- Bara de progres ---------- */
.progres-bar {
    position: relative;
    width: 140px;
    height: 15px;
    background: #e8f0fa;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}
.progres-fill {
    height: 100%;
    background: linear-gradient(to bottom, #6cc76c 0%, #3f9a2e 50%, #2f7d2f 51%, #3a8a3a 100%);
}
.progres-bar span {
    position: absolute;
    inset: 0;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: #17365d;
    line-height: 15px;
}

/* ---------- Footer aplicatie ---------- */
.ecris-footer {
    text-align: center;
    font-size: 11px;
    color: #5a7ba6;
    padding: 12px;
    border-top: 1px solid #c6d3e1;
    margin-top: 28px;
    background: linear-gradient(to bottom, #ffffff, #e8f1fa);
}

/* ---------- Alerte ---------- */
.alert {
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    border-radius: 0 !important;
    font-size: 12.5px;
    font-weight: bold;
}
.alert-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.alert-success {
    background: #e2f5cf !important;
    border: 1px solid #6aa73c !important;
    color: #2c5715 !important;
}
.alert-error {
    background: #fbe3e0 !important;
    border: 1px solid #c0392b !important;
    color: #7e1a10 !important;
}

/* ---------- Paginare Laravel ---------- */
main nav[role="navigation"] span,
main nav[role="navigation"] a {
    border-radius: 0 !important;
}

/* ---------- Login (guest, stil fereastra XP) ---------- */
.ecris-login-panel {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #0c3d92;
    border-radius: 8px 8px 4px 4px;
    box-shadow: 0 3px 10px rgba(10, 40, 90, 0.4);
    overflow: hidden;
}
.ecris-login-header {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 46%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.12) 100%),
        linear-gradient(to bottom, #4a90e8 0%, #2668cf 50%, #1450b4 100%);
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    padding: 8px 12px;
    text-shadow: 1px 1px 1px rgba(10, 40, 90, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.ecris-login-body { padding: 18px; }
.ecris-login-body input[type="email"],
.ecris-login-body input[type="password"],
.ecris-login-body input[type="text"] {
    border: 1px solid #7f9db9 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100%;
    padding: 5px 7px;
    font-size: 13px;
}
.ecris-login-body label {
    color: #17365d !important;
    font-weight: bold !important;
    font-size: 12.5px !important;
}
