@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/***ICONS***/
@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?wbp489');
    src: url('fonts/icomoon.eot?wbp489#iefix') format('embedded-opentype'),
        url('fonts/icomoon.ttf?wbp489') format('truetype'),
        url('fonts/icomoon.woff?wbp489') format('woff'),
        url('fonts/icomoon.svg?wbp489#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.icon-file-text2:before {
    content: "\e926";
}

.icon-file-pdf:before {
    content: "\eadf";
}

.icon-file-excel:before {
    content: "\eae2";
}

.pointer {
    cursor: pointer !important
}


input[type="time"]::-webkit-calendar-picker-indicator {
    background: none;
}

/*
*{
border:1px dotted red;
}
*/

/*Variabili*/
:root {

    --main: #4A8EC2;
    --main-light: #e8f1f8;
    --main-dark: #3A7099;
    --secondary: #FFB900;
    --warning: #FF0000;
    --success: #00B050;
    --waiting: #e39a1a;
    --info: #00B0F0;
    --bg_main: #4A8EC2;
    --bg_light: #f5f7fa;
    --darkBlue: #0A5585;
    --lightYellow: #FCCE55;
    --main_fonts_color: #2d2d2d;
    --border-color: #e0e0e0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.2s ease;

}


html {
    font-size: 12px;
}


body {
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    font-family: "Inter", "Lato", sans-serif;
    color: var(--main_fonts_color);
    font-size: 1.2rem;
    background: #f8f9fb;
    letter-spacing: -0.01em;
}

h1 {
    font-weight: 900;
}

h2 {
    font-weight: 700;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--main_fonts_color);
}

p {
    font-size: 1.05rem;
    color: var(--main_fonts_color);
}


a {
    color: inherit;
    text-decoration: none;
}

.link {
    color: blue !important;
    text-decoration: underline !important
}



.wrapper {
    width: 100%;
    min-height: 700px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}

.container {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.footer_container {
    width: 100%;
    margin-top: 5rem;
    background-color: var(--bg_light);
    border-radius: 3px;
    padding: 1.3rem 3rem;
}

.navbar-brand img {
    height: 36px !important;
    width: auto;
}

/* Navbar moderna */
.header_nav {
    background: #fff !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header_nav .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.header_nav .nav-link:hover {
    color: var(--main) !important;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: transparent !important;
    border-radius: 4px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    padding: 0 8px;
    color: #6c757d;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    pointer-events: none;
    /* Disabilita click sull'ultimo elemento */
}

/*** Tabelle ****/

table {
    min-width: 800px;
    font-size: 90%;
    border-collapse: separate;
    border-spacing: 0;
}

.th-style {
    background-color: var(--bg_light) !important;
}

.short_table {
    min-width: 300px !important
}

th div {
    font-weight: 500;
}

th {
    vertical-align: top;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #666;
    border-bottom: 2px solid var(--border-color) !important;
}

td {
    vertical-align: middle;
}

.custom_table_hover:hover {
    cursor: pointer;
    background-color: var(--main-light) !important;
    transition: var(--transition);
}

.custom_table_hover td {
    background: transparent !important
}

#result_list {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
}

/*Bootstrap*/

.btn {
    margin: 0 0 1rem 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--main);
    border-color: var(--main);
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--main-dark);
    border-color: var(--main-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 142, 194, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: initial !important;
}

.btn-secondary:hover {
    background-color: var(--lightYellow);
    border-color: var(--lightYellow);
    color: #000 !important;
    transform: translateY(-1px);
}

.btn-success {
    background-color: var(--success);
    color: #fff !important;
    border-color: var(--success)
}

.btn-success:hover {
    background-color: var(--main);
    color: #fff !important;
    border-color: var(--main);
    transform: translateY(-1px);
}

.btn-info {
    background-color: var(--info);
    border-color: var(--info)
}

.btn-light {
    border: 1px solid var(--border-color);
    background: #fff;
}

.btn-light:hover {
    background: var(--bg_light);
    border-color: #ccc;
}

.btn-dark {
    border: none !important;
}

.bi-eye-slash {
    width: 16px;
    height: 16px;
}

.page-link {
    height: 100%;
    border-radius: 6px;
}


.bg-main {
    background-color: var(--bg_main) !important;
}


.bg-light {
    background-color: var(--bg_light) !important;
}


.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    background-color: #cacaca;
    border: 1px solid #cacaca;
    color: #000 !important;
    transform: none;
    box-shadow: none;
}

/* Form controls moderni */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.55rem 0.85rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #8BB8DA;
    box-shadow: 0 0 0 3px rgba(74, 142, 194, 0.12);
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: #555;
}

/* Cards e pannelli */
.card {
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    max-height: none !important;
    background: var(--bg_light);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* Badge moderni */
.badge {
    font-weight: 600;
    padding: 0.35em 0.7em;
    border-radius: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* Dropdown moderni */
.dropdown-menu {
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--main-light);
}

/* FINE BOOTSTRAP */



/*GOOGLE*/

.g_id_signin {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}


/*** FINE GOOGLE ***/



.persona_giuridica {
    display: none;
}




.arrow {
    position: absolute;
    left: 5%;
    top: -0.78rem;
    width: 1.42rem;
    height: 1.42rem;
    border: 1px solid solid var(--warning);
    border-right: none;
    border-bottom: none;
    background-color: #fff;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    z-index: 1
}

.tooltip {
    position: absolute;
    margin-top: 0.25rem;
    padding: 0.8rem;
    background: #fff;
    max-width: 95%;
    font-weight: normal !important;
    border: 1px solid var(--warning);
    border-radius: 4px;
    box-shadow: -4px 4px 5px -3px #000;
    z-index: 10;
    opacity: 1;
    letter-spacing: 0.17em
}

.tooltip .arrow {
    width: 15px;
    height: 15px;
    top: -8.2px;
    border-left: 1px solid var(--warning);
    border-top: 1px solid var(--warning);
}

.tooltip .close_button {
    top: -0.85rem;
    left: -0.85rem;
    right: auto;
    padding: 0.5rem;
    font-size: 0.85rem;
    display: none
}

.clear {
    width: 100%;
    clear: both;
}


.warning {
    border: 1px solid red;
}

.success {
    border: 1px solid green;
}



.btn-link {
    color: var(--main) !important;
    /*text-decoration: underline !important*/
}

.header_nav .nav-link {
    /*color:#fff !important*/
}


.myresponsive {
    position: relative;
    float: left;
    width: 100%;
}

.padded {
    padding-left: 8rem;
    padding-right: 8rem;
}

/*** TABLES ***/
.td_header {
    background-color: var(--bg_light) !important;
    width: 15%;
    min-width: 190px;
    font-weight: bold
}

.two_columns {
    min-width: 0px !important
}



/*Ui Dialog*/
.ui-dialog {
    position: fixed !important;
    min-width: 42.85rem !important;
    font-family: inherit !important;
    z-index: 1000 !important
}

.ui-widget {
    font-family: inherit !important
}

.ui-dialog :focus {
    outline: -webkit-focus-ring-color auto 0px !important;
}


.ui-widget {
    font-family: inherit !important;
    font-size: inherit !important
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: inherit !important;
    font-size: var(--bs-btn-font-size) !important;
}

.ui-dialog :focus {
    outline: -webkit-focus-ring-color auto 0px !important;
}

.ui-dialog .ui-dialog-titlebar-close {
    background-color: var(--main)
}


/*FINE JQUERY*/


.chat_boxR {
    border-radius: 10px;
    border: 1px dotted #cacaca;
    background-color: var(--main);
    color: #fff
}

.chat_boxL {
    border-radius: 10px;
    border: 1px dotted #cacaca;
    background-color: #fff;
    color: #000
}

.chat_boxR,
.chat_boxL {
    padding: 1rem
}

.chat_input_text {
    width: 100%;
}

.chat_message_body {
    max-height: 300px;
    overflow-x: auto
}


.chat_person_icon {
    font-size: 2.8rem;
}

.chat_person_icon h6 {
    font-size: 1.1rem
}




/*OVERLAY*/
#blocca_schermo {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(1, 1, 1, 0.7);
    display: none;
    z-index: 110;
}

#loading {
    position: fixed;
    width: 7rem;
    height: 7rem;
    left: 50%;
    top: 50%;
    margin-left: -3.5rem;
    margin-top: -3.5rem;
    border-radius: 10px;
    z-index: 111;
    color: #fff;
    background: url('/images/icons/loading1.svg') no-repeat;
    background-size: cover;
    display: none
}

#blocca_schermo h6 {
    position: relative;
    width: 300px;
    height: 300px;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: 60px;
    color: #fff !important;
    text-align: center;
    font-size: 1.05rem !important
}



.client_search_box {
    position: absolute;
    background-color: #fff !important;
    border-radius: 0px 0px 5px 5px;
    max-height: 120px;
    overflow-y: auto;
    box-shadow: 2px 2px 6px -3px #000;
    z-index: 100;
}

.client_search_box li {
    padding: 0 !important;
    margin: 0.25rem 0.5rem !important
}

.client_search_box li:hover {
    background-color: var(--bg_light);
}


.optometric_table {
    min-width: 200px !important;
}

/* card-header ora gestito sopra */

.my_littile_button {
    vertical-align: bottom;
    cursor: pointer;
}

.my_littile_button .bi {
    font-size: 16px;
    vertical-align: top;
}


.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.no-spin {
    -moz-appearance: textfield !important;
}



@media screen and (max-width:1800px) {

    .container {
        width: 100%;
        max-width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }
}



@media screen and (max-width:992px) {

    .navbar-expand-lg .navbar-collapse {

        /*flex-direction:row !important;*/
    }
}




@media screen and (max-width:500px) {


    .chat_person_icon {
        font-size: 2rem;
    }

    .chat_person_icon h6 {
        font-size: 1rem
    }




}