/*
------------
STYLE FOR POP UP
------------
*/

/* Sfondo popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #06131f12;
    backdrop-filter: blur(3px);
    display: none;
    justify-content: center;
    align-items: center;
    animation: edit-fadeIn 0.4s ease;
    z-index: 9999;
}

/* Contenuto popup */
.popup-content {
    background: #F0F0F1;
    padding: 5px 25px 30px 25px;
    max-width: 1200px;
    box-shadow: -8px 6px 10px 0px rgb(0 0 0 / 62%);
    border: 2px solid #a5a5a5;
    width: 90%;
    transform: scale(0.8);
    animation: edit-zoomIn 0.3s ease forwards;
    position: relative;
}

/* Pulsante chiudi*/
.window-controls {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-right: -25px;
    margin-top: -5px;
}

.window-btn {
  width: 36px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: black;
  border-radius: 2px;
  transition: background-color 0.2s;
}

.window-btn:hover {
  background-color: #d0d0d0;
}

.close-btn:hover {
  background-color: #e81123;
  color: white;
}

.full-screen-resize {
    height: 90% !important;
    width: 90% !important;
    max-height: 100% !important;
    max-width: 100% !important;
}

/* Animazioni con prefisso */
@keyframes edit-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes edit-zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.page-title-div-popup {
    display: flex;
    align-items: center; /* Allinea verticalmente */
    justify-content: left; /* opzionale: distanzia i due elementi */
    gap: 1rem; /* opzionale: spazio tra titolo e bottone */
}

.popup-page-title{
    margin:0%!important;
}

.main-edit-notice {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    padding: 5px 7px 0px 12px;
    margin-bottom: 30px;
    border-left-color: #17dba0;
}

.popup-tab-content{
    background: #ffffff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    border: 1px solid #c3c4c7;
}

.nav-link{
    color: black;
}

.nav-link:hover{
    color: #2271B1;
}

.nav-tabs .nav-link.active {
    color: #2271B1!important;
}

.popup-more-reduce {
    padding:5px!important;
    width:515px!important;
}

.hidden{
    display:none!important;
}