﻿body
{
    margin: 0px;
    background-color: #fff;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 0.7em;
    line-height: 1.4em;
    color: #666;
}
p
{
    margin: 10px 0;
}
p.no-padding-no-margin
{
    padding: 0;
    margin: 0;
}
hr
{
    color: #e5e5e5;
    background-color: #e5e5e5;
    height: 1px;
    border: 0;
    margin: 5px 0;
    _margin: 5px 0;
}
blockquote
{
    padding: 0 0 0 12px;
    margin: 12px 0 0 0;
    background: url(../../images/bg-quote.png) no-repeat;
}
blockquote p
{
    margin: 2px 0;
}
cite
{
    font-size: .85em;
    margin: 0;
    padding: 0 0 0 6px;
}
fieldset {
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}
fieldset.smallspaced
{
    margin: 0 0 0.5em 0;
    padding: 0.5em 1em;
    border: 1px solid #ccc;
}

fieldset p
{
    margin: 2px 12px 10px 10px;
}
fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}
fieldset label.inline
{
    display: inline;
}
legend {
    font-family: Arial Black;
    color: #008000;
    padding: 0px 3px 5px;
}
fieldset.smallspaced legend {
    font-family: Arial Black;
    color: #008000;
    font-size: small;
    padding: 0px 3px 0px;
}



h1, h2, h3, h4, h5, h6
{
    font-size: 1.8em;
    font-family: Tahoma,Arial,Helvetica,sans-serif;
    line-height: 1.1em;
    margin: 5px 0;
}
h1
{
    margin-bottom: 0;
}
h1, h2
{
    margin-top: 0px;
}
h2
{
    font-size: 1.3em;
}
h3
{
    font-size: 1.1em;
}
h3.small
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5
{
    font-size: 1.1em;
}
h6
{
    font-size: 1em;
}
a:link
{
    color: #d61719;
    text-decoration: none;
    top: 0px;
    left: 0px;
}
a:visited
{
    color: #6b0b0c;
    text-decoration: none;
}
a:hover
{
    text-decoration: none;
}
a:active
{
    color: #980000;
}
.vertical-separator
{
    padding: .3em 0 .3em 0;
}
.linea-tratteggiata, #separator-newana
{
    border-bottom: 1px dashed #ccc;
    width: 100%;
}
#separator-newana-1
{
    padding-bottom: .6em;
}
#separator-newana-1, #separator-newana-2, #separator-newana-3
{
    border-top: 1px dashed #ccc;
    width: 100%;
}
#reserved-top-information
{
    height: 4.5em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3px;
    color: #666;
    font-size: .85em;
    position: relative;
    width: 1200px;
    display: flex;
    align-items: center;
}
#reserved-logo
{
    position: static;
    font-size: 3em;
    font-family: Georgia, "Times New Roman" ,Times,serif;
    padding: .1em 0 .2em 0;
    font-variant: small-caps;
    flex: 0 0 15%;
}
#reserved-logo a
{
    color: #093;
    text-decoration: none;
}
#reserved-top-information-home
{
    flex: 0 0 15%;
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    padding-right: 10px;
    margin-top: 0;
    margin-left: auto;
    font-size: 12px;
    font-weight: bold;
    color: #002060;
}
.nav-common
{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
#reserved-nav-main
{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    width: 1180px;
    background: #9c6 url(../../images/reserved-bg-nav.gif) no-repeat;
    padding: .5em 0 .5em 20px;
    color: #fff;
    font-family: Verdana;
    font-size: 14px;
    font-weight: bold;
    font-variant: normal;
}
#reserved-exit
{
    background: #444444 url(../../images/reserved-bg-nav-side.gif) top right no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    padding: .5em .5em .5em .5em;
    overflow: hidden;
    color: #fff;
    font-family: Verdana;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
}
#reserved-exit input
{
    border: 1px solid;
    border-color: #fff;
    color: #fff;
    position: relative;
    background-color: #393;
    font-weight: bold;
}
#reserved-nav-menu
{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    width: 1200px;
    height: 25px;
    background: #9c6;
    overflow: visible;
    margin-bottom: 5px;
}
.content-container-common
{
    width: 1198px;
    min-height: 680px;
    height: auto !important;
    margin-top: 3px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border: 1px solid gray;
}
#reserved-content-container-one-column
{
    width: 1198px;
    min-height: 680px;
    height: auto !important;
    margin-top: 3px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border: 1px solid gray;
    padding: 15px;
}
#reserved-content-container-two-column
{
    width: 1198px;
    min-height: 680px;
    height: auto !important;
    margin-top: 3px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border: 1px solid gray;
    background: url(../../images/reserved-bg-content-side.gif) repeat-y;
}
#reserved-content-main-two-column
{
    width: 978px;
    padding: 15px;
    float: right;
}
#reserved-content-side-two-column
{
    float: left;
    width: 160px;
    padding: 15px;
    min-height: 500px;
    height: auto !important;
    height: 500px;
}
#content-container-three-column
{
    width: 1198px;
    min-height: 500px;
    height: auto !important;
    margin-top: 3px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border: 1px solid gray;
    background: url(../../images/bg-three-column-main.png) repeat-y;
}
#content-main-three-column
{
    width: 788px;
    padding: 15px;
}
#content-side2-three-column
{
    width: 160px;
    padding: 15px;
    float: right;
}
#content-side1-three-column
{
    width: 160px;
    padding: 15px;
    float: left;
    min-height: 500px;
    height: auto !important;
    height: 500px;
}
.content-column-left-700px
{
    width: 700px;
    float: left;
    margin-right: 5px;
}
.content-column-left-350px
{
    width: 350px;
    float: left;
    margin-right: 2px;
}

.content-column-left-490px
{
    width: 484px;
    float: left;
    margin-right: 10px;
}
.content-column-right-490px
{
    width: 484px;
    float: left;
}
.content-column-right-260px
{
    width: 260px;
    float: right;
    border-left: 1px solid;
    border-left-color: #e5e5e5;
    margin-left: 5px;
    padding-left: 7px;
}
.content-column-full-978px
{
    clear: both;
    width: 978px;
}
.Crystal-Reports-Content-container
{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    padding: 1.25em 0.8em;
    padding: 0.625em;
    z-index: 0;
}
#reserved-footer {
    /*background: #777076 url(../../images/reserved-bg-nav.gif) bottom left no-repeat;*/
    margin-top: 3px;
    margin-left: auto;
    margin-right: auto;
    width: 1180px;
    padding: .8em 0 1em 20px;
    position: relative;
    color: #fff;
    font-size: .8em;
    background-color: #777076 !important; /* colore coerente col nav */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
#reserved-footer-side
{
    width: 175px;
    _width: 175.5px;
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
}
#reserved-footer-side-corner
{
    width: 175px;
    _width: 175.5px;
    position: absolute;
    top: 0;
    right: 0;
    padding: .8em 0 1em 0;
    background: #393 url(../../images/reserved-bg-nav-side.gif) bottom right no-repeat;
}
#reserved-footer a:link, #reserved-footer a:active, #reserved-footer a:visited
{
    color: #fff;
    text-decoration: none;
}
#reserved-footer a:hover
{
    color: #ddd;
    text-decoration: none;
}
#error-logo
{
    position: absolute;
    top: .5em;
    left: 15px;
    font-size: 3em;
    font-family: Georgia, "Times New Roman" ,Times,serif;
    padding: .1em 0 .2em 0;
    font-variant: small-caps;
}
#error-logo a
{
    color: #666;
}
#error-nav-main
{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    width: 1180px;
    background: #9c6 url(../../images/reserved-bg-nav.gif) no-repeat;
    padding: .5em 0 .5em 20px;
    color: #fff;
    font-family: Verdana;
    font-size: 14px;
    font-weight: bold;
    font-variant: normal;
    background: #980000;
}
#error-nav-exit
{
    background: #393 url(../../images/reserved-bg-nav-side.gif) top right no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    padding: .5em .5em .5em .5em;
    overflow: hidden;
    color: #fff;
    font-family: Verdana;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    background: #6b0b0c;
}
#error-footer
{
    background: #9c6 url(../../images/reserved-bg-nav.gif) bottom left no-repeat;
    margin-top: 3px;
    margin-left: auto;
    margin-right: auto;
    width: 1180px;
    padding: .8em 0 1em 20px;
    position: relative;
    color: #fff;
    font-size: .8em;
    background: #980000;
}
.home_panel
{
    overflow: visible;
    height: auto;
    padding-left: 10px;
}
.home_panel_title
{
    padding-top: 5px;
    padding-left: 5px;
}
#reserved-pagetitle
{
    display: none;
}
.clear
{
    clear: both;
}
.none
{
    display: none;
}
.reserved-menu-input
{
    font-family: Verdana;
    font-size: 11px;
}
.reserved-top-space-between-controls
{
    padding-top: .5em;
}
.reserved-top-bottom-space-between-controls
{
    padding-top: .5em;
    padding-bottom: .5em;
}
.reserved-top-bottom-smallspace-between-controls
{
    padding-top: .3em;
    padding-bottom: .3em;
}
.button-commons
{
    font-weight: normal;
    font-family: Verdana;
    border-style: solid;
    border-width: 1px;
    border-color: Black;
}
.reserved-button
{
    font-weight: normal;
    font-family: Verdana;
    border-style: solid;
    border-width: 1px;
    border-color: Black;
    font-size: 12px;
    height: 26px;
}
.reserved-button-small
{
    font-weight: normal;
    font-family: Verdana;
    border-style: solid;
    border-width: 1px;
    border-color: Black;
    font-size: 12px;
    height: 20px;
}
.reserved-input-file
{
    font-weight: normal;
    font-family: Verdana;
    border-style: solid;
    border-width: 1px;
    border-color: Black;
    font-size: 10px;
    height: 20px;
}
.rrClipRegion
{
    border: 0px !important;
}
.notepad
{
    background-image: url('../../images/bg_notepad_280x200.gif');
    background-position: left top;
    display: inline-block;
    width: 250px;
    padding-left: 45px;
    padding-right: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 10px;
    vertical-align: top;
    background-repeat: repeat-y;
    overflow: auto;
}
.rmVertical .rmSeparator
{
    width: 80%;
    height: 1px;
    clear: both;
    line-height: 1px;
    display: list-item;
    border: 0;
    background-color: #ccc;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	for lavoratori tile lists

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/* peek template appearance */
.lavoratoriTiles .peekTemplateClass
{
    width: 130px;
    height: 100px;
    padding: 10px;
    font-size: 13px;
    line-height: 20px;
}

/* change tile texts to better fit long names and show over the images */
.lavoratoriTiles .RadTile div.rtileBottomContent
{
    font-weight: bold;
    font-size: x-small;
    width: auto;
    max-width: 130px;
    color: Black; /* semi-transparent background like this will work in CSS3 compatible browsers */
    background-color: rgba(255,255,255,0.6);
    height: auto;
    max-height: 60px;
    line-height: 20px;
    padding: 0 20px 0 10px;
    bottom: 5px;
}

#Cornice-GridView {
    background-color: #777076;
    color: White;
    font-weight: bold;
    padding: .5em 0 .5em .5em;
}
#Cornice-GridView-1
{
    background-color: #9c6;
    color: White;
    font-weight: bold;
    padding: .5em 0 .5em .5em;
}
#descrizione-ADE
{
    background-color: #393;
    color: White;
    font-weight: bold;
    padding: .5em 0 .5em .5em;
}
.Green-separator {
    background-color: #777076;
    color: White;
    font-weight: bold;
    padding: .5em 0 .5em .5em;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

	Separatori dei GridTableView annidati all'interno del RadGrid

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
        .tableViewSeparator {
           border:solid;
           margin-top: 5px;
           margin-bottom: 10px;
        }

/*#region ALBO FORNITORI CSS */
/* === Base badge stato � adattivo alla colonna === */
.badge-stato {
    display: block; /* block invece di inline-block: occupa tutta la cella */
    width: 100%; /* si adatta alla larghezza della HeaderStyle */
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* se il testo � lungo, tronca con "..." invece di rompersi */
    line-height: 18px;
    box-sizing: border-box;
}

.badge-regolare {
    background-color: #28a745; /* Verde accessibile - contrasto OK su bianco */
    color: #ffffff;
}

.badge-scaduto {
    background-color: #dc3545; /* Rosso - coerente con OrangeRed ma pi� leggibile */
    color: #ffffff;
}

.badge-in-aggiornamento {
    background-color: #fd7e14; /* Arancione - sostituisce Yellow illeggibile */
    color: #ffffff;
}

/* === Badge Stato Fornitore � palette allineata alla RadComboBox === */

.badge-non-registrato {
    background-color: transparent;
    color: #495057;
    border: 1px solid #ced4da; /* bordo sottile per dare struttura senza colore */
}

.badge-in-corso-qualifica {
    background-color: #FFD700; /* Giallo oro � identico al dropdown */
    color: #212529; /* Nero scuro � unico caso testo scuro */
}

.badge-qualificato {
    background-color: #4CAF50; /* Verde acceso � identico al dropdown */
    color: #ffffff;
}

.badge-qualificato-riserva {
    background-color: #4CAF50; /* Verde acceso � identico al dropdown */
    color: #ffffff;
}

.badge-sospeso {
    background-color: #6c757d; /* Grigio medio */
    color: #ffffff;
}

.badge-processo-annullato {
    background-color: #808080; /* Grigio � identico al dropdown */
    color: #ffffff;
}

.badge-blacklisted {
    background-color: #1a1a1a; /* Nero � identico al dropdown */
    color: #ffffff;
}
/*#endregion*/
/* ===== Tenant Status Banners ===== */
#divTenantStatusBanners {
    flex: 0 0 60%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.status-summary-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.ts-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 1em;
    font-weight: bold;
}

/*.ts-pill-warning { background: #fff3cd; border: 1px solid #ffc107; color: #5a4000; }
.ts-pill-alert   { background: #fde8e8; border: 1px solid #dc3545; color: #6b0000; }*/

@keyframes ts-pill-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.ts-pill-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #5a4000;
    animation: ts-pill-blink 2s ease-in-out 3; /* lampeggia 3 volte poi si ferma */
}

.ts-pill-alert {
    background: #fde8e8;
    border: 1px solid #dc3545;
    color: #6b0000;
    animation: ts-pill-blink 1.4s ease-in-out 3; /* leggermente più veloce per gli alert */
}


.ts-pill-hint {
    font-size: 0.9em;
    color: #888;
}

/* Modale */
.ts-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-modal-box {
    background: #fff;
    border-radius: 8px;
    width: 600px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.ts-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.05em;
}

.ts-modal-close {
    background: none;
    border: none;
    font-size: 1.4em;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.ts-modal-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ts-modal-section-title {
    font-weight: bold;
    font-size: 0.95em;
    margin-bottom: 6px;
    color: #333;
}

.ts-modal-item {
    padding: 10px 14px;
    border-left: 4px solid;
    border-radius: 4px;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.ts-modal-ts {
    font-size: 0.85em;
    color: #888;
    margin-left: 8px;
}

.banner-warning  { background: #fff3cd; border-color: #ffc107; color: #5a4000; }
.banner-error    { background: #ffe5cc; border-color: #ff6600; color: #6b2800; }
.banner-critical { background: #fde8e8; border-color: #dc3545; color: #6b0000; }

/* Feedback "Carica con AI" (Adempimenti_POS_TempContributor) */
.gsq-ai-feedback { padding: 8px 12px; border-radius: 4px; font-size: 13px; margin-top: 8px; }
.gsq-ai-feedback--success { background-color: #dff0d8; color: #3c763d; border: 1px solid #d6e9c6; }
.gsq-ai-feedback--error   { background-color: #f2dede; color: #a94442; border: 1px solid #ebccd1; }

/* AI Actions Panel — pagina TempContributor */
.gsq-ai-actions-panel {
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid #d4e3f0;
    border-radius: 4px;
    background: #f5faff;
}
.gsq-ai-actions-label {
    font-size: 11px;
    font-weight: bold;
    color: #4a6fa5;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── ProcessBatch AI Page ─────────────────────────────────── */
.gsq-processbatch-container {
    max-width: 100%;
    margin: 0;
    padding: 16px 8px;
}
.gsq-processbatch-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c4a7c;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4e3f0;
}
.gsq-processbatch-dropzone-wrapper {
    margin-bottom: 20px;
}
.gsq-dropzone-ai {
    border: 2px dashed #aaa;
    border-radius: 6px;
    padding: 24px 20px;
    text-align: center;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}
.gsq-dropzone-ai:hover {
    border-color: #4a6fa5;
    background: #f0f6ff;
}
.gsq-dropzone-subtitle {
    font-size: 12px;
    color: #888;
}
.gsq-processbatch-msg {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
}
.gsq-processbatch-msg-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.gsq-processbatch-msg--warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #5d4037;
}
.gsq-processbatch-msg--info {
    background: #e8f4fd;
    border: 1px solid #90caf9;
    color: #1a3a5c;
}
.gsq-processbatch-msg--neutral {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
}
.gsq-processbatch-msg--caution {
    background: #fff3e0;
    border: 1px solid #ffb74d;
    color: #5d3a00;
}
.gsq-processbatch-list {
    margin: 8px 0 0 0;
    padding-left: 20px;
}
.gsq-processbatch-list li {
    margin-bottom: 4px;
}
.gsq-ai-feedback--info    { background-color: #d9edf7; color: #31708f; border: 1px solid #bce8f1; }