﻿/* 1) Variabilă internă reutilizabilă */
:root {
    --lf-navy: #021930;
    --print-font-size: 10pt;
}


/* Offset = înălțimea meniului + 32px pentru respirare */
[id] {
    scroll-margin-top: calc(var(--lf-navbar-h, 0px) + 32px);
}

/* ========================
   Stiluri generale
   ======================== */
body {
    font-family:  "Segoe UI","Raleway", sans-serif;
    font-size: 1rem;
}
html {
    -webkit-text-size-adjust: 100%;
}


.gradient-text {
    background: linear-gradient(90deg, #005eb8, #00b5f1, #34a853, #a4d65e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-oblic-text {
    background: linear-gradient(to top right, #005eb8, #00b5f1, #34a853, #a4d65e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* forțăm gradientul să aibă „spațiu” */
}

.popover {
    --mdb-popover-max-width: 400px !important;
    max-width: 400px !important;
    width: auto !important;
}

.d-xs-none {
    display: none !important;
}

@media (min-width: 576px) {
    .d-xs-none {
        display: inline !important;
    }
}


    /* ========================
   Titluri & secțiuni
   ======================== */
    h1, h2, h3, h4 {
    color: #00214F;
    font-weight: 800;
    font-family: "Inter"
}

.necapitalizat {
    text-transform: none !important;
}

.btn {
    box-shadow: none !important;
    transition: box-shadow 0.3s ease;
}
.btn:hover {
    box-shadow: 0 0 10px #6610f2, 0 0 30px #6610f2;
}

    /* ========================
   Carduri firme
   ======================== */
    .card {
        border-radius: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }

    .card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05) !important;
        transition: box-shadow 0.2s ease-in-out;
    }

.card-title {
    font-weight: 600;
}

.card .btn {
    text-transform: none;
}


/* ========================
   Grid modern pentru firme
   ======================== */
.firme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ========================
   Alte elemente
   ======================== */
.section-title {
    font-size: 1.5rem;
    border-left: 4px solid var(--mdb-primary);
    padding-left: 0.75rem;
    margin-bottom: 1.5rem;
}
/* ========================
   Navbar customizat
   ======================== */
.navbar-bg-translucent {
    background-color: rgba(0, 51, 102, 0.85);
}

.bg-image {
    height: 100%;
}
/* CLOUDS */


.hero-bg {
    background-color: #A2D5F2;
    position: relative;
    min-height: 75vh;
    overflow: hidden;
    padding-top: 100px;
}
.hero-bg-mic {
    background-color: #A2D5F2;
    position: relative;
    min-height: 130px;
    overflow: hidden;
    padding-top: 20px;
}
.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

    .grayscale:hover {
        filter: grayscale(0%);
        opacity: 1;
    }

.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: radial-gradient(ellipse at center, #fff 0%, #f1f1f1 100%);
    border-radius: 50%;
    opacity: 0;
    animation: floatCloud 45s ease-in-out infinite;
    filter: blur(16px) brightness(1.1) contrast(1.2);
    mix-blend-mode: multiply;
}

    .cloud::before, .cloud::after {
        width: 80%;
        height: 80%;
        top: calc(var(--p3, 20) * 1%);
        left: calc(var(--p4, 5) * 1%);
        background: inherit;
        border-radius: 50%;
        position: absolute;
        content: "";
    }

    .cloud::before {
        width: 100%;
        height: 100%;
        top: calc(var(--p1, 10) * 1%);
        left: calc(var(--p2, 15) * 1%);
        background: inherit;
        border-radius: 50%;
        position: absolute;
        content: "";
    }

    .cloud::after {
        width: 80%;
        height: 80%;
        top: 25%;
        left: -35%;
    }

@keyframes floatCloud {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    25% {
        opacity: 0.15;
    }

    50% {
        transform: translate(calc(var(--x, 50px) * 2), calc(var(--y, 30px) * 2)) scale(1);
        opacity: 0.3;
    }

    75% {
        opacity: 0.2;
    }

    100% {
        transform: translate(calc(var(--x, 50px) * 4), calc(var(--y, 30px) * 4)) scale(1.3);
        opacity: 0;
    }
}


.lf-hero .mask {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    color: #004d60;
}


.thin-border {
    border-width: 0.5px !important; /* sau mai subțire dacă dorești */
}


/* footer */
footer {
    padding: 2rem 0;
}

    footer a {
        color: whitesmoke;
        text-decoration: none;
        font-size: 0.9rem;
    }

    footer a:hover {
        text-decoration: underline;
    }

footer i {
    margin-right: 6px;
}

.input-group-newsletter {
    max-width: 500px;
}

    .input-group-newsletter .form-control {
        flex: 1 1 auto;
        min-width: 0;
    }

    .input-group-newsletter .btn {
        flex-shrink: 0;
        transition: background-color 0.3s, color 0.3s;
    }

        .input-group-newsletter .btn.btn-outline-light:hover {
            background-color: #ffffff;
            color: #263238;
        }

    .input-group-newsletter .input-group-text {
        border: 1px solid #ffffff33;
    }

.social-icons a {
    display: inline-flex;
    align-items: center;
    font-size: 1.25rem;
    margin-right: 1rem;
}

    .social-icons a span {
        margin-left: 0.5rem;
        font-size: 0.9rem;
    }

@media (max-width: 767.98px) {
    footer .col-md-9,
    footer .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #footer-solutii {
        margin-top: 2rem;
    }
}


/* ========================
   Filigran
   ======================== */
.filigran circle {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
    transition: r 0.3s ease, opacity 0.3s ease;
}

.filigran {
    width: 95%;
    height: auto;
    pointer-events: none;
    stroke: white;
    fill: none;
    stroke-width: 30;
    opacity: 0.2;
}

.retea-firme {
    width: 95%;
    height: auto;
    pointer-events: auto;
    z-index: 0;
    opacity: 0.6;
}



.svg-echivalent {
    width: 100%;
    max-width: 1280px;
    height: auto;
    max-height: 905px;
}

.svg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 55vh;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filigran g {
    stroke-width: 30; /* implicit */
}

@media (max-width: 1200px) {
    .filigran g {
        stroke-width: 40;
    }
}

@media (max-width: 992px) {
    .filigran g {
        stroke-width: 60;
    }
}

@media (max-width: 768px) {
    .filigran g {
        stroke-width: 90;
    }
}

@media (max-width: 576px) {
    .filigran g {
        stroke-width: 120;
    }
}

/* top-strip */

@media (max-width: 575.98px) {
    #top-strip .d-flex {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    #top-strip img {
        order: 0;
        flex: 0 0 auto;
        height: 20px;
        align-self: center;
    }

    #top-strip #accountDropdown {
        order: 1;
        margin-left: auto;
        white-space: nowrap;
        flex: 0 0 auto;
        align-self: center;
    }

    #top-strip a[href^="tel"],
    #top-strip a.text-danger,
    #top-strip #langDropdown {
        order: 2;
        align-self: center;
    }
}

@media (min-width: 576px) {
    #top-strip .d-flex {
        justify-content: flex-start;
        align-items: center;
    }

    #top-strip img {
        margin-right: auto;
    }

    #top-strip #accountDropdown {
        margin-left: auto;
    }

    #top-strip a,
    #top-strip .dropdown {
        margin-left: 0.5rem;
    }
}

/* separator */
.svg-separator {
    margin: 0;
    text-align: center;
}

    .svg-separator svg {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
        height: auto;
    }

.line-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #1266f1, transparent);
    margin-top: 0;
    margin-bottom: 0;
}


/* limbi */
#langDropdown + .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Butoane login social */

.btn-login-google,
.btn-login-facebook,
.btn-login-microsoft {
    width: 100%;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    font-size: 14px;
    padding: 5px 8px;
    font-family: sans-serif;
    cursor: pointer;
    text-align: left;
    text-transform: none !important;
}

.btn-login-google {
    background-color: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    font-family: Roboto, sans-serif;
}

.btn-login-facebook {
    background-color: #1877F2;
    color: #fff;
    border: none;
    font-family: Helvetica, Arial, sans-serif;
}

.btn-login-microsoft {
    background-color: #f3f2f1;
    color: #000;
    border: 1px solid #ccc;
    font-family: "Segoe UI", sans-serif;
}

.login-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.facebook-bg {
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}


/* ========================
   Iconuri facilitati
   ======================== */

.icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 50px auto;
}

.main-icon {
    font-size: 60px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sub-icon {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    font-size: 40px;
    color: var(--mdb-info);
    cursor: pointer;
    text-align: center;
    transition-delay: 0.3s;
}

.icon-container:hover .sub-icon {
    opacity: 1;
    visibility: visible;
}

.icon-label {
    display: block;
    font-size: 14px;
    color: #212529;
}

.top {
    top: -110px;
    left: 40px;
}

.bottom {
    bottom: -70px;
    left: 40px;
}

.left {
    left: -90px;
    top: 10px;
}

.right {
    right: -90px;
    top: 10px;
}

.top-left {
    top: -90px;
    left: -70px;
}

.top-right {
    top: -90px;
    right: -70px;
}

.bottom-left {
    bottom: -70px;
    left: -70px;
}

.bottom-right {
    bottom: -70px;
    right: -70px;
}

.main-label {
    font-size: 16px;
    color: #212529;
    margin-top: 10px;
}

/* bottom bar */
#bottom-bar {
    position: fixed;
    display: flex;
    justify-content: center;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 0px;
    z-index: 1000;
}

#toggle-bar-btn {
    position: absolute;
    left: 20px;
    top: -40px;
    width: 120px;
    height: 40px;
    background-color: var(--mdb-info);
    color: white;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: top 0.3s ease;
}

#chat-bar-btn {
    position: absolute;
    right: 50px;
    top: -40px;
    width: 80px;
    height: 40px;
    background-color: var(--mdb-success);
    color: white;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: top 0.3s ease;
}

#manager-window {
    position: absolute;
    right: 0px;
    top: -320px;
    width: 300px;
    height: 320px;
    background-color: var(--mdb-success);
    border-radius: 5px 5px 0 0;
    display: flex;
    z-index: 1001;
    transition: top 0.3s ease;
}

    #manager-window.hidden {
        display: none;
    }

.contact-info a {
    display: block;
    text-decoration: none;
    color: black;
    margin-bottom: 5px;
}

    .contact-info a:hover {
        text-decoration: underline;
        color: #0056b3;
    }

.contact-info i {
    margin-right: 5px;
}

.contact-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}


/* ========================
   tabel gradient – versiune izolată
   ======================== */
.gradient-table {
    border-collapse: collapse;
}

    .gradient-table > tbody > tr > th,
    .gradient-table > tbody > tr > td {
        padding: 8px;
        text-align: left;
        position: relative;
    }

        /* Gradient pe primul și ultimul td din fiecare rând */
        .gradient-table > tbody > tr > td:first-child {
            background-image: linear-gradient(to right, transparent, rgba(0, 123, 255, 0.1));
            background-repeat: no-repeat;
            background-size: 100% 1px;
        }

        .gradient-table > tbody > tr > td:last-child {
            background-image: linear-gradient(to left, transparent, rgba(0, 123, 255, 0.1));
            background-repeat: no-repeat;
            background-size: 100% 1px;
        }

    /* Gradient special pe colțurile din colțul de jos al tabelului */
    .gradient-table > tbody > tr:last-child > td:first-child {
        background-image: linear-gradient(to right, transparent, rgba(0, 123, 255, 0.1));
        background-repeat: no-repeat;
        background-size: 100% 1px;
    }

    .gradient-table > tbody > tr:last-child > td:last-child {
        background-image: linear-gradient(to left, transparent, rgba(0, 123, 255, 0.1));
        background-repeat: no-repeat;
        background-size: 100% 1px;
    }

    /* Gradient pe coloanele din mijloc */
    .gradient-table > tbody > tr > td:not(:first-child):not(:last-child) {
        background-image: linear-gradient(to right, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.1));
        background-repeat: no-repeat;
        background-size: 100% 1px;
    }

    /* Linie verticală între celulele din mijloc */
    .gradient-table > tbody > tr > td:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 1px;
        background: rgba(0,123,255,.1); /* lipsea */
    }
@media print {
    /* 1) Grilă robustă, fără background-uri desenate ca linii */
    .gradient-table {
        border-collapse: collapse;
        border: .75pt solid #000;
    }

        .gradient-table th,
        .gradient-table td {
            /* NU schimbăm position aici! */
            padding: 6pt;
            border-bottom: .5pt solid #000;
            /* important pentru conținut poziționat/îngust: să nu fie tăiat */
            overflow: visible !important;
            background-image: none !important; /* taie doar gradientele */
        }

            .gradient-table th:not(:last-child),
            .gradient-table td:not(:last-child) {
                border-right: .5pt solid #000;
            }

        .gradient-table tr:last-child th,
        .gradient-table tr:last-child td {
            border-bottom: .75pt solid #000;
        }

        /* 2) Eliminăm DOAR pseudo-liniile noastre */
        .gradient-table th::before,
        .gradient-table td::before {
            content: none !important;
        }

        /* 3) Vizibilitate pentru conținutul din celule */
        .gradient-table * {
            /* contrast stabil la print (Safari/Chrome) */
            color: #000 !important;
            -webkit-text-fill-color: #000;
            /* evită dispariția iconițelor cu efecte */
            filter: none !important;
            mix-blend-mode: normal !important;
        }

    /* 5) Ajustare culori print */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
/* ========================
   carduri plati
   ======================== */


.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    overflow: hidden;
    width: 120px;
    height: 120px;
}

.ribbon span {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(56, 142, 60, 0.9));
    border: 1px solid white;
    position: absolute;
    display: block;
    width: 160px;
    padding: 5px 0;
    color: white;
    text-align: center;
    transform: rotate(45deg);
    top: 20px;
    right: -45px;
    font-size: 12px;
    font-weight: bold;
}

#comparator th, #comparator td {
    border-right: none;
    min-width: 150px;
    text-align: center;
}

    #comparator td:first-child {
        text-align: right;
    }

#comparator button {
    width: 100%;
    margin-top: 5px;
}

.table-blue tbody tr:nth-child(even) {
    background-color: rgba(0, 123, 255, 0.05);
}
.table-blue thead tr {
    background-color: var(--mdb-primary);
    color: white;
}
.table-sm td, .table-sm th {
    padding: 3px !important;
    color: #111;
    max-width: 900px; /* ajustează după nevoie */
    overflow-wrap: anywhere;
    word-wrap: break-word;
    white-space: normal;
}

 /* carduri pachete acces */
.card-startup {
    border-left: 5px solid #4CAF50;
}

.card-office {
    border-left: 5px solid #007bff;
}

.card-business {
    border-left: 5px solid #FFC107;
}

.card-nelimitat {
    border-left: 5px solid #9C27B0;
}

/* ========================
   paralax images
   ======================== */
.lf-parallax-layer {
    pointer-events: none;
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.2s linear;
    z-index: -1;
    overflow: hidden;
    max-width: 100vw;
    max-height: 100vh;
}

/* sidebar */

#sidebar-toggle-btn {
    position: fixed;
    left: 0;
    top: 240px;
    transform: translateY(-22%);
    width: 60px;
    height: 40px;
    background-color: var(--mdb-info) !important;
    cursor: pointer;
    z-index: 1030;
    transition: left 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 30% 30% 0;
}

#sidebar {
    min-width: 328px !important;
}

@media (max-width: 768px) {
    #sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }
}



/* chatbot ania */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 10px;
    z-index: 1049;
}

/* Add styles to the form container */
.form-container {
    max-width: 340px;
    padding: 10px;
    border-radius: 20px;
    background-color: white;
    color: #777;
    border: 1px solid #2e6da4 !important;
}

.chat-iframe {
    display: block; /* evită spațiul inline */
    border: 0; 
    width: 320px;
    height: 435px; 
}

/* profil manager cont */
.profile-img {
    width: 80px;
    border-radius: 50%; /* 50% pentru cerc perfect */
    margin-right: 10px;
    float: left; /* înlocuiește align="left" */
}


/* pachete acces */
#result {
    position: relative;
    display: inline-block; /* pentru a ocupa spațiul real */
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* marcaj orase */
.marc {
    font-style: italic;
    color: var(--mdb-primary); 
    transition: color 0.1s;
}
.marc::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0d6efd;
    margin-right: 4px;
}
@media (min-width: 768px) {
    .select-orase-md {
        min-height: 600px !important;
    }
}

/* custom background */
.bg-login {
    background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url('/2025/static/img/bg/bg7.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

#breadcrumbNav {
    font-size: 1rem;
}

/* firme industrii */
.grayed-checkbox {
    background-color: rgba(128, 128, 128, 0.2);
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
    filter: none;
    opacity: 1;
}

.treeview ul {
    list-style-type: none;
}

/* th tabele */
.th-w-6p {
    width: 6% !important;
}
.th-w-30p {
    width: 30% !important;
}

/* stare selectie */

#selectie .stepper-head-icon {
    width: 42px;
    height: 42px;
}

#selectie .selectie-tab-section {
    margin-bottom: 2rem;
    min-height: 50vh;
}


#selectie .nav-tabs .nav-link {
    font-size: 1rem;
}

    #selectie .nav-tabs .nav-link[data-order="1"] i {
        color: var(--mdb-primary);
    }

    #selectie .nav-tabs .nav-link[data-order="2"] i {
        color: var(--mdb-warning);
    }

/* print */

.floating-buttons-mf {
    position: fixed;
    bottom: .2rem;
    right: .2rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

/* switch */
.red-label:checked + .form-check-label {
    color: #ff0000; /* Schimbă culoarea label-ului pe on */
}

/* ==== PRINT RULES FOR MDB 9 ==== */
@media print {
    /* 0) Setări generale pentru economie */
    :root {
        /* Ajustează doar aceste 3 variabile ca să "strângi" mai mult sau mai puțin */
        --print-space-min: 0.5mm;
        --print-space-ideal: 2mm;
        --print-space-max: 4mm;
        --mdb-border-color: #000;
        --mdb-table-bg: transparent;
        --print-font-size: 9pt;
    }


    body {
        font-size: var(--print-font-size);
        line-height: 1.1;
    }
    .floating-buttons-mf {
        display: none !important;
    }
    .container {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    .toast,
    .toast-container,
    .toasts {
        display: none !important;
        visibility: hidden !important;
    }


    /* 1) Fără umbre (MDB are .shadow, .shadow-* și componente cu shadow) */
    .shadow, [class*="shadow-"],
    .card, .btn, .dropdown-menu, .modal-content, .toast, .list-group-item,
    .navbar, .navbar-nav, .dropdown, .accordion-item, .accordion-button,
    .offcanvas, .popover, .tooltip {
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }

    /* 2) Limite pentru margin/padding – NU le anulăm, doar le plafonăm */
    /* a) Utility classes Bootstrap/MDB (m-*, p-*, mx-*, py-*, etc.) */
    [class*=" m-"], [class^="m-"],
    [class*=" p-"], [class^="p-"],
    [class*=" mx-"], [class^="mx-"],
    [class*=" my-"], [class^="my-"],
    [class*=" px-"], [class^="px-"],
    [class*=" py-"], [class^="py-"],
    [class*=" mt-"], [class^="mt-"],
    [class*=" me-"], [class^="me-"],
    [class*=" mb-"], [class^="mb-"],
    [class*=" ms-"], [class^="ms-"],
    [class*=" pt-"], [class^="pt-"],
    [class*=" pe-"], [class^="pe-"],
    [class*=" pb-"], [class^="pb-"],
    [class*=" ps-"], [class^="ps-"] {
        /* plafonăm padding/margin la valori compacte */
        margin: clamp(var(--print-space-min), var(--print-space-min), var(--print-space-min)) !important;
        padding: clamp(var(--print-space-min), var(--print-space-min), var(--print-space-min)) !important;
    }

    /* b) Componente frecvente – un pic mai strânse decât utilitățile generice */
    .card, .list-group-item, .accordion-body, .modal-body, .dropdown-menu {
        padding: var(--print-space-min) !important;
        margin: var(--print-space-min) !important;
    }

    .card-title, .card-header, .card-body, .modal-header, .accordion-header, .accordion-button {
        padding: clamp(0mm, 1mm, 1.5mm) !important;
        margin: clamp(0mm, 1mm, 1.5mm) !important;
    }

    /* 3) Layout MDB: containere/row/col – micșorăm „air-ul” */
    .container, .container-fluid, .row, [class^="col"], [class*=" col-"] {
        padding: var(--print-space-min) !important;
        margin: var(--print-space-min) !important;
        gap: 1mm !important;
    }

    /* 4) Tipografie compactă, dar lizibilă */
    body {
        font-family: "Segoe UI", system-ui, -apple-system, "Inter", "Raleway", sans-serif;
        font-size: clamp(10pt, 11pt, 12pt);
        line-height: clamp(1, 1.05, 1.2);
        margin: clamp(2mm, 5mm, 6mm); /* marginile paginii tipărite */
        color: #000 !important; /* evită culori pale la print */
        background: transparent !important; /* fără background-uri colorate */
    }

    h1, h2, h3, h4 {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    }


    p, li {
        margin-block: clamp(0mm, 1mm, 1.5mm);
    }

    /* 5) Tabele: compacte și curate */
    table {
        border-collapse: collapse !important;
        width: 100% !important;
        font-size: 8.5pt;
        --mdb-table-bg: transparent !important;
        --mdb-table-accent-bg: transparent !important; /* pentru striped/hover */
        --mdb-table-striped-bg: transparent !important; /* dacă e folosită */
    }

    th, td {
        padding: 1pt !important;
        border: 0.5pt solid #000 !important;
    }

    /* 6) Ascunde strict elemente inutile la print (meniuri, modale, toasts etc.) */
    .navbar, .sidebar, .offcanvas, .modal, .toast-container, .pagination,
    .btn, .btn-group, .dropdown-toggle, .form-control:placeholder-shown + .form-label {
        display: none !important;
    }

    /* 7) Imagini și media – opțional mai compacte */
    img, svg, video, canvas {
        max-width: clamp(80mm, 150mm, 180mm) !important;
        margin: clamp(0mm, 1mm, 1.5mm) auto !important;
    }

    /* 8) Rupturi de pagină curate */
    h1, h2, h3 {
        page-break-after: avoid;
    }
}




