﻿@font-face {
    font-family: Elza;
    src: url("../../../fonts/elza/elza-medium.otf") format("opentype");
}

@font-face {
    font-family: Elza-Light;
    src: url("../../../fonts/elza/elza-light.otf") format("opentype");
}

.missing-field-border {
    border-bottom: 1px solid red !important;
}

.descrizione-articolo-griglia {
    font-family: "Elza-Light",Helvetica,Arial,sans-serif;
    float:left;
}

#closedorders th {
    text-transform: uppercase;
}

#yousign-iframe{

width:100%;
height:100%;
}

body {
    overflow: hidden;
}

a:hover {
    color: #000;
}

.closed-order-action {
    width: 140px;
    /*height: 40px;*/
    padding: 0;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.closed-order-action button {
    background-color: transparent;
    border: none;
    padding: 0 3px;
    font-size: 20px;
}

.table > thead > tr > th {
    border-bottom: 0px !important;
}

#order_creating_options {
    text-transform: uppercase;
}

#order_creating_options .panel {
    border: none;
    box-shadow: none;
}

.price-discounted {
    text-decoration: line-through;
}

/* Chrome, Safari, Edge, Opera */
.TargetDetailsPage input[type="number"]::-webkit-outer-spin-button,
.TargetDetailsPage input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.TargetDetailsPage input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.TargetDetailsPage .EditableCellClass {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.TargetDetailsPage input,
.TargetDetailsPage select,
.TargetDetailsPage .input-group-addon {
    background: transparent;
}

.size-wrapper {
    width: 51vw;
    overflow-x: auto;
}

.orderDetails {
    padding-left: 15px;
    padding-right: 15px;
    min-height: calc(100vh - 151px);
}

#tab-catalogue {
    font-size: 12px;
    margin-top: 0px;
    overflow-y: auto;
    position: relative;
    height: calc(100vh - 229px);
    width: 100%;
}

input[name="search"] {
    border-top: 0;
    border-bottom: 1px solid #000;
    color: #000;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    font-size: 12px;
    border-radius: 0;
}

    input[name="search"]::placeholder {
        color: #000;
        opacity: 1; /* Firefox */
    }

input#searchp {
    border-top: 0;
    border-bottom: 1px solid #000;
    color: #000;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    font-size: 12px;
    border-radius: 0;
}

    input#searchp::placeholder {
        color: #000;
        opacity: 1; /* Firefox */
    }

input.multiselect-search {
    border-top: 0;
    border-bottom: 1px solid #000;
    color: #000;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    font-size: 12px;
}

button.multiselect-clear-filter {
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: none;
    color: #000;
}

#orders-filters button.multiselect-clear-filter {
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: none;
    color: #000;
}

.color-red {
    color: red;
}

.dataTables_filter input[type="search"] {
    border-bottom: 1px solid #000;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    color: #000;
    box-shadow: none;
}

    .dataTables_filter input[type="search"]::placeholder {
        color: #000;
        opacity: 1; /* Firefox */
    }

input.multiselect-search::placeholder {
    color: #000;
    opacity: 1; /* Firefox */
}

.multiselect-item .input-group-addon {
    display: none;
}

.btn.btn-default {
    border-radius: 0;
}

.btn.btn-primary {
    color:#000;
    border-color:#000;
    border: 1px solid #000;
    background:#fff;
}

    .btn.btn-primary:hover,
    .btn.btn-primary:focus {
        color: #fff;
        border-color: #000;
        border: 1px solid #000;
        background: #000;
    }


#orders-filters .btn-order-filters, #ponumber .btn-order-filters {
    color: #000 !important;
    font-size: 12px !important;
    text-transform: uppercase;
}

/* Filtro impostato (diverso da "tutti"): colore rosso tenue per farlo notare a colpo d'occhio */
#orders-filters .btn-order-filters.filter-active,
#orders-filters select.filter-active,
#orders-filters .input-group.date input.filter-active {
    color: #a94442 !important;
    font-weight: bold;
}

#orders-filters .dropdown-menu {
    font-size: 12px !important;
}

    #orders-filters .dropdown-menu > .active > a, #orders-filters .dropdown-menu > .active > a:hover, #orders-filters .dropdown-menu > .active > a:focus {
        background-color: #000;
    }

#list_2.grid-type {
    margin-left: 15px;
    margin-right: 15px;
}

#list_2.list-type {
    margin: 0 auto;
    width: 96vw;
}

#list_2 .grid_element {
    padding-top: 20px;
}

    #list_2 .grid_element a {
        height: 250px;
    }

.details .title {
    color: #000;
}

.details {
    color: #333;
    padding-top: 20px;
    padding-bottom: 20px;
    height: 74px;
}

.text-item-description {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-x: hidden;
    max-width: 200px;
    word-break: break-all;
    display: inline-block;
    height: 25px;
    line-height: 20px;
    vertical-align: middle;
}

.product-title {
    font-size: 14px;
    letter-spacing: .1em;
    line-height: 1.5;
    color: #333;
    position: relative;
    font-weight: 600;
}

.tab-content > .tab-pane {
    padding-left: 15px;
    padding-right: 15px;
}



.product-details .pGriglia1 {
    /*max-width: 960px;*/
    margin-left: auto;
    margin-right: auto;
}

/*body table[data-target='avtab'] div[data-target='taglie'],
body table[data-target='avtab'] div[data-target='sconti'],
body table[data-target='avtab'] div[data-target='delivery'] {
    overflow-x: auto;
}*/

table[data-target='avtab'] .col-notaglie {
    width: 30px;
}

table[data-target='avtab'] .div-colore {
    width: 145px;
}

    table[data-target='avtab'] .div-colore > img {
        max-width: 130px;
    }

table[data-target='avtab'] .div-notaglie {
    width: 30px;
    margin: 0 auto;
}

table[data-target='avtab'] .div-sel {
    width: 30px;
}

table[data-target='avtab'] .div-delivery li,
table[data-target='avtab'] .div-delivery li select {
    width: 100%;
}

.product-main-container table[name="griglia-taglie"] {
    font-size:10px;
}

.grid-element-container .model-item-description-container {
    text-align:left;
}

.product-main-container table[data-target='avtab'] tbody td.col-colore .qta-ordered-flag {
    position: static;
    transform: none;
}

.product-main-container table[data-target='avtab'] tbody td.col-colore .qta-ordered-flag .badge {
    font-size: 10px;
}
    /****TOOLSHEADERS***/
    #toolsHeaders {
    background: #000;
    color: #fff;
    height: 50px;
    line-height: 50px;
    top: 71px;
}

    #toolsHeaders .info-text,
    #toolsHeaders .totals {
        display: inline-block;
        float: right;
        padding-right: 10px;
    }


    #toolsHeaders .ordineInfo-inline {
        display: inline-block;
        padding-left: 20px;
    }

    #toolsHeaders #search_panel {
        padding-right: 20px;
        padding-top: 9px;
    }

/****END TOOLSHEADERS***/

#chatroom-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    border-radius: 100%;
    border: 5px solid #fff;
    background-color: rgba(70,107,174,1);
    border-color: rgba(70,107,174,1);
}

    #chatroom-button span {
        color: #fff;
    }

.typeahead {
    background-color: #fff;
}

.typeahead, .tt-query, .tt-hint {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    outline: none;
}

.room-active {
    margin: 0 auto;
    border-radius: 100%;
    animation: play 2s ease infinite;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes play {

    0% {
        transform: scale(1);
    }

    15% {
        box-shadow: 0 0 0 5px rgba(70,107,174, 0.4);
    }

    25% {
        box-shadow: 0 0 0 10px rgba(70,107,174, 0.4), 0 0 0 20px rgba(70,107,174, 0.2);
    }

    25% {
        box-shadow: 0 0 0 15px rgba(70,107,174, 0.4), 0 0 0 30px rgba(70,107,174, 0.2);
    }
}

#body-block > section.container {
    margin-bottom: 30px;
}

.modal.bootstrap-dialog {
    z-index: 3000 !important;
}

.bootstrap-dialog.type-primary .modal-header {
    background-color: #ddd;
    border-color: #bbb;
}

/*.bootstrap-dialog.type-primary .modal-header .bootstrap-dialog-title {
        color: #333333;
    }*/

body .navbar > .container .navbar-brand {
    padding: 0;
}

    body .navbar > .container .navbar-brand img {
        height: 50px;
    }

.rendering-btn-container {
    display: inline-block;
}

.technical-sheet-btn-container {
    display: inline-block;
}

.product-left > .product-title {
    display: inline-block;
}

.product-title {
    display: inline-block;
}

/* dialog con report embed */

.embed-dashboard-dialog .modal-dialog {
    width: calc(100% - 60px);
    height: calc(100% - 60px);
}

.embed-dashboard-dialog .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.embed-dashboard-dialog .modal-body {
    flex: 1;
}

.bootstrap-dialog-body,
.bootstrap-dialog-message,
#dashboardContainer {
    height: 100%;
}

.embed-dashboard-dialog .modal-header {
    background-color: #ececec !important;
}

.embed-dashboard-dialog .bootstrap-dialog-title {
    color: #777 !important;
}

.bootstrap-tagsinput {
    min-width: 100%;
}

    .bootstrap-tagsinput .tag {
        background-color: #f9f9f9;
        color: #555555;
        font-size: 100%;
    }

.bootstrap-dialog.type-primary .modal-header {
    background-color: #000;
}

img.select-loader {
    right: -40px !important;
}

/* --------------- */

.cell-loader {
    margin-top: 5px;
    position: absolute;
    left: 10px;
    top: 0;
}

#detTabContainer {
    position: relative;
    height:100%;
}

.with-overlay {
    opacity: 0.3;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
}

#notesOrderModal form div.form-group {
    width: 100%;
}

#notesOrderModal form textarea.testo-nota {
    width: 100%;
    resize: none;
    height: 300px;
}

div.orderDetails.container {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    min-width: 1200px;
}

.orderDetailsTools .checkbox {
    padding: 8px 10px;
    border-radius: 3px;
    border-color: #ccc;
    border: 1px solid transparent;
}

    .orderDetailsTools .checkbox input {
        margin-top: 0;
        margin-right: 10px;
    }

    .orderDetailsTools .checkbox label {
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: initial;
    }

.back-to {
    text-align: right;
    margin-bottom: 20px;
    padding-right: 5%;
}

    .back-to a {
        text-decoration: underline;
        color: #000;
        font-size: 13px !important;
    }

.filter-bar-container {
    position: relative;
}

.tab-content {
    padding: 20px 0;
}

.grid_element img.img-responsive {
    height: 250px;
}

/*.modal-footer .bootstrap-dialog-footer-buttons > .btn + .btn {
    margin-left: 0;
}*/

.btn-info {
    background-color: #000;
    color: #FFF;
    border-color: #CCC;
}

    .btn-info:hover,
    .btn-warning:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

.btn-warning {
    background-color: #555;
    color: #FFF;
    border-color: #CCC;
}



button.btn-icon[name="excel"] > img {
    margin-top: -5px;
}

button.btn-icon[name="eliminaOrdine"] > i,
button.btn-icon[name="mail"] > i {
    width: 20px;
    vertical-align: inherit;
}

.nav.navbar-fixed-top {
    min-height: 54px;
}

.barcode-page-container {
    padding-left: 15px;
    padding-right: 15px;
}

    .barcode-page-container .barcode-list-container table {
        width: 100%;
    }

    .barcode-page-container table[data-target='avtab'] th {
        text-align: left;
    }

    .barcode-page-container .barcode-page-row-tools {
        margin-bottom: 20px;
    }

    .barcode-page-container td.col-taglie li > div,
    .barcode-page-container td.col-taglie li > input {
        text-align: center;
    }

    .barcode-page-container .barcode-list-container table tr td {
        border-bottom: 1px solid #e0e0e0;
    }

    .barcode-page-container .barcode-list-container table tr td {
        padding-top: 3px;
        padding-bottom: 3px;
        text-align: left;
    }

    .barcode-page-container #ResultSearch {
        position: absolute;
    }

.barcode-list-container {
    height: calc(100vh - 280px);
    overflow-y: auto;
}

#basic-addon2 {
    cursor: pointer;
    background-color: #fff !important;
    box-shadow: none;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #000;
    border-radius: 0;
}

div.detrow,
tr.detrow > td {
    padding-top: 30px;
    padding-bottom: 10px;
}

.mbsc-sc-whl-sc > div[role="option"] > div {
    color: rgba(255,255,255,0) !important;
}

.mbsc-material .mbsc-sc-whl-l {
    border-top: 2px solid #415667 !important;
    border-bottom: 2px solid #415667 !important;
}

.mbsc-material .mbsc-fr-btn {
    color: #000 !important;
}

.cart-container select[name="statofirma"] {
    display: none;
}

.navbar-nav li.dropdown.open a {
    color: #000 !important;
}

div.product-img-container img.img-responsive {
    margin: 0 auto;
}

table.table-data {
    max-width: 100% !important;
}

body > .navbar-default .navbar-collapse, body > .navbar-default .navbar-form {
    border-color: #fff;
    border: 0;
}


.panel-group .panel {
    border-radius: 0;
}

.panel-default > .panel-heading {
    border: none;
    background: #fff;
}

select.form-control {
    border: none;
    box-shadow: none;
    color: #000;
    font-weight: bold;
    font-size: 12px;
    padding-left: 0px;
}

    select.form-control:focus,
    select.form-control:hover
    {
        border: none;
        box-shadow: none;
        color: #000;
        text-decoration:underline;
    }

input.form-control {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #000;
    border-radius: 0;
    font-size: 12px;
    box-shadow: none;
}

.input-group-addon{
    color: #000;
    border-radius:0;
    border: none;
    background-color: #fff;
}

button.btn {
    border-radius: 0;
}

#new-customer-form select, #new-destination-form select, #new-subcustomer-form select {
    border-bottom: 1px solid #000;
    border-radius: 0;
}

#new-customer-form input[type="text"], #new-customer-form input[type="number"], #new-customer-form input[type="email"], #new-destination-form input[type="text"] {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #000;
    border-radius: 0;
    box-shadow: none;
}

#new-customer-form select:focus,
#new-customer-form select:active, #new-destination-form select:focus,
#new-destination-form select:active, #new-subcustomer-form select:focus, #new-subcustomer-form select:active {
    background-color: #f1f1f1;
}

.color-product-container {
    height: 280px;
    position: relative;
}

    .color-product-container a {
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .color-product-container .color-code {
        position: absolute;
        bottom: 0;
    }

table button.btn.btn-default {
    border: none;
    color: #000;
    background: #fff;
}

.in-promo-flag {
    color: red;
    position: absolute;
    top: 10px;
    left: 20px;
    font-weight: bold;
}

.title_product {
    margin-top: 20px;
    margin-bottom: 0px;
}


[data-discountprice="promo"] {
    font-weight: bold;
}

#colors-link {
    margin-top: 30px;
    font-weight: bold;
}

.div-prezzo {
    border-top: 1px solid #000;
}

    .div-prezzo > div {
        border-bottom: 1px solid #000;
        height: 40px;
        line-height: 40px;
    }

        .div-prezzo > div > div:last-of-type {
            float: right;
            font-weight: bold;
        }

.product-description-field {
    font-weight: bold;
    text-overflow: ellipsis;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
}

.product-description-container {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    height: 82px;
}

    .product-description-container > div {
        border-bottom: 1px solid #000;
        height: 40px;
        line-height: 40px;
    }

.product-details {
    font-size: 12px;
}

.quantity-resume {
    border-bottom: 2px solid #000;
    width: 100%;
}

    .quantity-resume > div {
        height: 40px;
        line-height: 40px;
        text-transform: uppercase;
    }

 
#ValueSearch {
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    border-bottom: 1px solid #000;
    box-shadow: none;
    font-size: 12px;
}

    #ValueSearch::placeholder {
        color: #000;
        opacity: 1; /* Firefox */
    }

    #ValueSearch::-ms-input-placeholder { /* Edge 12 -18 */
        color: #000;
    }

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border-bottom: 1px solid #000;
    border-top: none;
}

.table > thead > tr > th {
    border-bottom: 1px solid #000 !important;
}

.text-item {
    margin-left: 15px;
}

.product-title {
    margin-right: 15px;
}


img.order-button {
    width: auto;
    height: calc(100vh - 160px);
    max-width: 100%;
}

#bar-container .dropdown-menu, #bar-container .btn {
    font-size: 12px;
}

.product-grid-description-price {
    display: inline-block;
    width: 60%;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-word;
}

.agent-container .table > thead > tr > th, .agent-container .table > tbody > tr > th, .agent-container .table > tfoot > tr > th, .agent-container .table > thead > tr > td, .agent-container .table > tbody > tr > td, .table > tfoot > tr > td {
    border-top: 0;
}

#agent_list thead td {
    border-top: none;
    border-left: none;
    border-right: none;
}

#agent_list tbody td {
    border-bottom: none;
    border-top: none;
}

    #agent_list tbody td:first-of-type {
        border-right: 1px solid #000;
        border-left: 1px solid #000;
        padding-bottom: 15px;
    }

#agent_list tfoot tr {
    border-right: 1px solid #000;
    border-left: 1px solid #000;
}

#agent_list tbody td:last-of-type {
    border-right: 1px solid #000;
    padding-bottom: 15px;
}

#agent_list tbody te:last-of-type {
    border-bottom: 1px solid #000;
}

#customer_list tbody td {
    border-bottom: none;
    border-top: none;
}

    #customer_list tbody td:first-of-type {
        border-right: 1px solid #000;
        border-left: 1px solid #000;
    }

#customer_list tfoot tr {
    border-right: 1px solid #000;
    border-left: 1px solid #000;
}

#customer_list tbody td:last-of-type {
    border-right: 1px solid #000;
}

#customer_list tbody te:last-of-type {
    border-bottom: 1px solid #000;
}

#customer_list tbody td:first-of-type {
    border-right: 1px solid #000;
    border-top: none;
}

#customer_list tbody td:last-of-type {
    border-right: 1px solid #000;
    border-top: none;
}

#customer_list .control-label {
    font-weight: normal;
}

.customer-info-container {
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
}

#closedorders tr th {
    border-left: 0;
    border-right: 0;
    padding: 3px 26px 3px 6px;
    font-size: 12px;
    vertical-align: middle;
    /*text-align:left;*/
}

#closedorders {
    border-left: 0;
    border-right: 0;
}

    #closedorders tr td {
        border-bottom: 1px solid #000;
        border-left: 0;
        border-right: 0;
        font-size: 12px;
        /*text-align: left;*/
    }

body > nav.navbar {
    background-color: #fff;
}

.navbar-default .navbar-nav > li > a {
    color: #000;
}

    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        color: #000;
        text-decoration:underline;
    }

[data-lang="LogOut"]{
    color: #000;
}

    [data-lang="LogOut"]:focus,
    [data-lang="LogOut"]:hover {
        text-decoration: underline;
        color: #000;
    }

footer a {
    color: #000;
    text-decoration: none;
    font-weight:normal !important;
}

    footer a:hover {
        color: #000;
        text-decoration: underline;
        font-weight: normal;
    }

.navbar-default .btn-link {
    color: #000;
}

.navbar-header {
    float: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

.grid-element-name-link {
    color:#000 !important
}

.product-composition {
    color: #666;
}

#order_creating_options button.action-button {
    border-radius: 0;
    margin-bottom: 10px;
    margin-right:10px;
}

.destinazione-cliente{
    padding-top: 10px;
    padding-bottom: 10px;
}

#customer_list button[name="new-destination"] {
    border: none;
    border-radius: 0;
    /*margin-bottom: 10px;*/
    padding: 4px;
    background-color: #111111;
    color: #FFFFFF !important;
    font-weight: normal;
}

.excel-download-icon {
    height: 25px;
    margin-top: -5px;
}

.dropdown-icon {
    display: inline-block;
}

.table-actions .open > .dropdown-menu {
    display: block;
    direction: rtl;
    right: 0;
    left: auto;
    text-align: right;
}

.table-actions .dropdown-icon a.btn-link {
    padding: 2px 1px 2px 7px;
}

.bootstrap-dialog button.btn.btn-default span.icon-spin {
    color: #FFF;
}

.btn .caret {
    margin-top: -2px;
}

.budget-agente-container {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    vertical-align: top;
}

.budget-info-item {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background-color: #f7f7f7;
    border-left: 3px solid #999999;
    border-radius: 3px;
    padding: 6px 12px;
    white-space: nowrap;
}

.budget-info-item .budget-info-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #777777;
}

.budget-info-item .budget-info-value {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
}

.budget-info-item.budget-info-target {
    border-left-color: #2e7d32;
}

.budget-info-item.budget-info-budget {
    border-left-color: #1565c0;
}

.budget-info-item.budget-info-percent {
    border-left-color: #ef6c00;
}

#import-budget-btn .fa-file-excel-o {
    color: #1d6f42;
}


/* ===== STRIP IMMAGINI DINAMICHE ===== */
#brand-active-lines-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    justify-content: space-evenly;
}

.line-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 140px;
    height: 190px;
    border-radius: 2px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    background: #eee;
}

    .line-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .25s ease;
    }

    .line-thumb:hover img {
        transform: scale(1.05);
    }

    .line-thumb .label {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(transparent, rgba(0,0,0,.75));
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        text-align: center;
        padding: 18px 6px 8px;
        letter-spacing: .5px;
    }

    .line-thumb.skeleton {
        background: #ddd;
    }

        .line-thumb.skeleton::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, #ddd 0%, #eee 50%, #ddd 100%);
            background-size: 200% 100%;
            animation: shimmer 1.2s infinite;
        }

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.minimum-order-info {
    margin-bottom: 12px;
}

.minimum-order-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 13px;
}

.minimum-order-text {
    color: #b26a00;
    font-weight: 600;
}

.badge-min-order {
    background-color: #b26a00;
    color: #fff;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    margin-top: -1px;
}

/* ---------- HERO (split video / bottoni) ---------- */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 100px);
    display: flex;
    background: var(--black);
}

.hero-video-col {
    position: relative;
    width: 66%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Il video è sempre orizzontale: lo vincoliamo al suo aspect-ratio reale
     così non viene mai stirato né tagliato in modo innaturale, con eventuale
     letterbox nero sopra/sotto se la colonna è più alta del video stesso. */
.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 100%;
}

    .video-frame video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%) contrast(1.05);
    }

.hero-content-col {
    width: 34%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px;
}

.hero-eyebrow {
    font-family: var(--font-nav);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 18px;
}

.hero-eyebrow-logo {
    width: 150px;
    max-width: 60%;
    height: auto;
    margin-bottom: 28px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.cta-btn {
    display: block;
    color: var(--black);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 16px 22px;
    text-align: left;
    background: #ccc;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

    .cta-btn:hover {
        background: #a3a3a3;
        transform: translateX(2px);
    }

.cta-primary {
    background: #ccc;
    color: var(--black);
}

    .cta-primary:hover {
        background: #a3a3a3;
    }

.pdf-gate-pending {
    visibility: hidden;
}

#TargetManageTable td.col-pending,
#TargetManageTable th.col-pending {
    background-color: #FFF9C4; /* giallo chiaro */
}

#TargetManageTable td.col-forecast,
#TargetManageTable th.col-forecast {
    background-color: #C8E6C9; /* verde chiaro */
}

/* griglia taglie su mobile: quantita' con tap / pressione lunga */
table[data-mobile-tap=true] div[data-target=taglie] input[data-posizione-taglia] {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    caret-color: transparent;
}

/* griglia taglie su mobile: bottoni copia riga / cancella riga grandi e facili da toccare (min 44x44px) */
table[data-mobile-tap=true] tbody td.col-sel {
    width: 60px;
    vertical-align: middle;
}

table[data-mobile-tap=true] tbody td.col-sel div.function_table {
    display: block;
    padding: 0;
    margin: 6px auto;
    text-align: center;
}

table[data-mobile-tap=true] tbody td.col-sel div.function_table i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 22px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f7f7f7;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

table[data-mobile-tap=true] tbody td.col-sel div.function_table i:active {
    background-color: #e0e0e0;
}

.mobile-qta-legend {
    cursor: pointer;
    margin-left: 4px;
    font-size: 1.2em;
}

.mobile-qta-legend-tooltip .tooltip-inner {
    text-align: left;
    max-width: 260px;
}

#TargetManageTable th.col-delivery-code {
    white-space: normal;
}

#customer_list tbody tr.cliente-problematico {
    background-color: rgba(224, 185, 65, 0.7);
}

#customer_list tbody tr.cliente-non-affidabile {
    background-color: rgba(178, 77, 77, 0.7);
}