/*
///////////////////////////////////////////////////////////////////////////////////////////////////
// Ver.: 250811.1
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// MENU
//
// §_01. ADMIN: LOG
// §_02. FRONT: LISTA
// §_03. FRONT: TOOLTIP
// §_04. BACK: TABELLA UTENTI
// 
//
//
///////////////////////////////////////////////////////////////////////////////////////////////////
*/



/* ████████████████████████████████████████████████████████████████████████████████████████████████ // §_01. ADMIN: LOG */
#tdl_log_screen {
    padding: 20px;
    font-size: 15px;
    font-family: 'Courier New', Courier, monospace;
}
.tdl_log-sx { /* colonna sinistra */
    float:left;
    width:240px;
    white-space:nowrap;
}
.tdl_log-dx { /* colonna destra */
    float:left;
    width:calc(100% - 240px);
    white-space:normal;
}

.tdl_btn {
    display: block;
    font-size: x-large;
    padding: 4px 30px;
    background-color:#82E5C8;
    border: 1px solid #333;
    color:#333;
    border-radius: 8px;
    /* font-weight: bold; */
    text-align: center;
    cursor: pointer;
    text-decoration:none;
}

#tdl_monitor {
    font-family:'Courier New', Courier, monospace;
    line-height:112%;
    color:black;
    font-size:18px;
    border:1px solid #999;
    padding: 10px;
    height:calc(100vh - 200px);
    overflow-y:scroll;
}


/* ████████████████████████████████████████████████████████████████████████████████████████████████ // §_02. FRONT: LISTA */

/* TITOLI */
.tdl_quando {
    font-size: 24px;
    font-weight: bold;
    color: #d00c94;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* CHECKLIST */
.tdl_container {
    display: block;
    position: relative;
    padding-left: 40px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.tdl_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.tdl_checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    /* background: #e6e6e6; */
    border: 1px solid #ff00fd;
    border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.tdl_container:hover input ~ .tdl_checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.tdl_container input:checked ~ .tdl_checkmark {
    background-color: #ff00fd;
}

/* Create the checkmark/indicator (hidden when not checked) */
.tdl_checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.tdl_container input:checked ~ .tdl_checkmark:after {
    display: block;
}

.tdl_label-text {
    margin-left: 8px;
    vertical-align: middle;
    font-size: 22px;
    font-weight:normal;
    line-height:125%;
}

.tdl_container input:checked ~ .tdl_label-text {
    text-decoration: line-through;
    color: #888; /* colore secondario per enfatizzare il cambiamento */
}

/* Style the checkmark/indicator */
.tdl_container .tdl_checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* ████████████████████████████████████████████████████████████████████████████████████████████████ // §_03. FRONT: TOOLTIP */

.tdl_tooltip {
    font-size: 25px;
    line-height: 0;
}

/* Stile base del tooltip */
.tdl_tooltip-popup {
    position: absolute;
    max-width: 260px;
    padding: 8px;
    background: #603;
    color: #fff;
    font-size: 0.9em;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 100;
}

/* Quando aggiungeremo la classe 'visible' diventa visibile */
.tdl_tooltip-popup.visible {
    opacity: 1;
    pointer-events: auto;
}


/* ████████████████████████████████████████████████████████████████████████████████████████████████ // §_04. BACK: TABELLA UTENTI */

.tdl_tbl_users {
  width: 90%;
  margin: 40px auto;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
  font-size:medium;
  background-color: #FFF8DC; /* Beige pastello */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.tdl_tbl_users th {
  background-color: #B0E0E6; /* Azzurro pastello */
  color: #333;
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
}

.tdl_tbl_users td {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  color: #555;
}

.tdl_tbl_users tr:nth-child(even) {
  background-color: #F0FFF0; /* Verde menta chiaro */
}

.tdl_tbl_users tr:hover {
  background-color: #E6E6FA; /* Lavanda */
  transition: background-color 0.3s ease;
}

.tdl_tbl_users caption {
  caption-side: top;
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #6A5ACD; /* Viola tenue */
  font-weight: bold;
}