/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 10-feb-2021, 16.29.25
    Author     : daneel
*/

pre {
    overflow: auto;
    word-wrap: normal;
    white-space: pre-wrap;
    background: #eaeaea;
    padding: 2%;
}

.messaggio-segnalazioni {
    clear: both;
    padding: 12px 20px;
    background-color: #fafafa;
    border-top: 1px solid #ddd;
    overflow: hidden;
}

.messaggio-segnalazioni ul{
    list-style: disc;
    padding-left: 18px;
}

#wp-new-com-message-editor-tools{
    display: none;
}

#segnalazione_meta_box_ambito select {
    max-width: 80%;
}

table {
  border-collapse: collapse;
}

tr.stati-in-lavorazione td {
  border: 1px solid white;
  
}

tr.stati-nuova-segnalazione td {
  border: 1px solid white;
  
}

tr.stati-chiusa td {
  border: 1px solid gray;
  
}


.email-with-picker {
  display: flex;
  align-items: center;
  gap: 6px;
}
.email-with-picker .rubrica-open .dashicons {
  line-height: 1.2;
  vertical-align: middle;
  font-size: 16px;
}

/* Modal */
.rubrica-no-scroll { overflow: hidden; }
.rubrica-modal {
  position: fixed; inset: 0; z-index: 100000; /* sopra admin notices */
}
.rubrica-modal__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.4);
}
.rubrica-modal__dialog {
  position: relative; z-index: 1;
  width: min(640px, 92vw);
  margin: 8vh auto; background: #fff; border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  display: flex; flex-direction: column; max-height: 80vh;
}
.rubrica-modal__header, .rubrica-modal__footer {
  padding: 12px 16px; border-bottom: 1px solid #e2e4e7;
}
.rubrica-modal__footer { border-top: 1px solid #e2e4e7; border-bottom: 0; }
.rubrica-modal__body { padding: 12px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
#rubricaSearch { width: 100%; }
.rubrica-list { overflow: auto; border: 1px solid #e2e4e7; border-radius: 6px; max-height: 50vh; background: #fff; }
.rubrica-item {
  width: 100%; text-align: left; border: 0; background: #fff; padding: 10px 12px; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
}
.rubrica-item:hover { background: #f6f7f7; }
.rubrica-item strong { font-weight: 600; }
.rubrica-item span { color: #555; font-family: monospace; }
.rubrica-empty { padding: 12px; color: #666; }
.rubrica-modal__header { display: flex; justify-content: space-between; align-items: center; }
.rubrica-modal__header .rubrica-close {
  font-size: 20px; line-height: 20px; padding: 4px 8px; cursor: pointer;
}