 

.container {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;

}

#logo {
    width: 300px;
}

h1 {
    margin-top: 50px;
}

h4 {font-weight: 900; font-size:17px;}


input[type=text] {
    margin-bottom: 20px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
}

input[type=text]:focus {
    border-color: #555;
}
.error {
    color: red;
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    /* border: 1px solid #dddddd; */
    padding: 8px;
    text-align: left;
}

th {
    background-color: #50a0ce;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #101639 !important;
    transition: background-color 0.5s ease;
    font-size:14px;
}

.table {
    display: table;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.table-row {
    display: table-row;
}

.table-header, .table-cell {
    display: table-cell;
    padding: 1rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table-header {
    font-weight: bold;
    background-color: #f8f9fa;
    margin-left:-20px;
}

@media screen and (max-width: 767px) {
    .table, .table-row {
        display: block;
    }

    .table-header, .table-cell {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .table-header {
        text-align: left;
        padding-top: 0;
        border-top: none;
    }
}

.table-cell {
    position: relative;
    padding-right: 70px; /* Aggiungi un margine destro per evitare la sovrapposizione del pulsante */
}

.copy-btn {
    width: 100px;
    top: 5px; /* Distanza dall'alto della cella */
    right: 5px; /* Distanza dal lato destro della cella */
    background-color: #4CAF50; /* Colore di sfondo del pulsante */
    border: none; /* Rimuove il bordo */
    color: white; /* Colore del testo */
    padding: 5px 10px; /* Spaziatura interna per il pulsante */
    text-align: center; /* Allinea il testo al centro */
    text-decoration: none; /* Rimuove la sottolineatura del testo */
    display: inline-block; /* Imposta il display del pulsante */
    font-size: 12px; /* Dimensione del carattere */
    border-radius: 3px; /* Arrotonda gli angoli del pulsante */
    cursor: pointer; /* Cambia il cursore al passaggio del mouse */
    transition: background-color 0.3s; /* Effetto di transizione al passaggio del mouse */
}

.copy-btn:hover {
    background-color: #45a049; /* Colore di sfondo al passaggio del mouse */
}


h1 {
    font-weight: 600;
    letter-spacing: -0.025em;
    text-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
    transition: opacity 0.5s ease;
}

.hidden {
    opacity: 0;
}
.hide-btn {
    width: 100px;
    top: 5px;
    right: 5px;
    background-color: #96acc3; /* Colore di sfondo del pulsante */
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hide-btn:hover {
    background-color: #262c49; /* Colore di sfondo al passaggio del mouse */
}
.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.selectproj {
    background-color: orange;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    transition-duration: 0.4s;
}

.selectproj:hover {
    background-color: #262c49;
    color: white;
}

body {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}


@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.robot {
    animation: zoomIn 1s forwards;
}

.pulse-effect {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(172,18,111, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(172,18,111, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(172,18,111, 0);
    }
}

.form-element {
    height: 40px;
}
.robot{margin-top: 30px;}

.my-custom-popup {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.my-custom-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.my-custom-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.my-custom-button:hover {
    background-color: #45a049;
}


#main-title {
    text-align: center;
    font-size: 3.5rem;
    color: #F88379;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin: 2rem 0;
    margin-bottom:-10px;
}

#main-title span {
    color: #F88379;
    font-weight: bold;
}

#download-button{width:170px;}
.selectproj {
  border-radius: 5px;
}

#field_415_container, #field_484_container {
    display: none;
}


.form-element {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    color: #ddd;
    background-color: #101639;
    transition: all 0.3s ease;
    padding-right: 30px; /* Spazio aggiuntivo a destra per l'icona */
    height: 50px;
}

.form-element:focus {
    border-color: #5c6bc0;
    box-shadow: 0 0 10px rgba(92, 107, 192, 0.3);
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}


.select-container {
    width: 100%; 
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 0px;
}
label {
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-right: 8px;
    font-size: 13px;
    font-weight: bold;
}

select {
    display: block;
    background-color: #fff;
    font-size: 16px;
    padding: 8px 10px;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

label, select {
    display: inline-block; 
}

#progetto {
    border: 2px solid orange; /* Sostituisci '#ff0000' con il colore desiderato */
}

/* ----  AGGIUNTA --- */
.btn-disabled {
    background-color: #262c49;
}
.btn-enabled {
    /* background-color: #47CE90; */
    background-color: #F88379;
}


.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); 
    gap: 10px;
}

.area-grid-item {
    background-color: #cccccc;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.area-grid-item[data-selected] {
   /* background-color: orange; */
   animation: pulse 1s infinite;
   /* border: 1px solid #f00; */
}

#area {
    display: none;
}


.area-grid-item {
    cursor: pointer;
    background: #6c757d;
    border-radius: 5px;
    display: inline-block;
    height: 120px;
    width: 120px;
    line-height: 100px;
    text-align: center;
    color: white;
    font-weight: bold;
    user-select: none;
    transition: box-shadow .3s ease-in-out, transform .3s ease-in-out;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    margin: 5px;
    overflow: auto;
    line-height: 1.2; /* un valore più piccolo per consentire il wrapping del testo */
    padding: 10px; /* un po' di spazio intorno al testo */
    box-sizing: border-box; /* assicurati che il padding sia incluso nella dimensione totale del box */
    font-size: 14px; /* riduci la dimensione del testo */
    display: flex;
    justify-content: center; /* allinea orizzontalmente */
    align-items: center; /* allinea verticalmente */
    text-align: center; /* per l'allineamento del testo se occupa più di una riga */
}

.area-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.area-grid-item:active {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

.box1 {
    background: #262c49;
    border: 1px solid #007BFF; /* Bordo blu #007BFF */
}

.box2 {
    background: #262c49;
    border: 1px solid #edc755; /* Bordo colore giallo dorato #edc755 */
}


.box3 {
    background: #262c49;
    border: 1px solid #dc3545; /* Aggiunge un bordo blu */
}
.box4 {
    background: #262c49;
    border: 1px solid #f28585; /* Aggiunge un bordo blu */
}
.box5 {
    background: #262c49;
    border: 1px solid #48769d; /* Aggiunge un bordo blu */
}
.box6 {
    background: #262c49;
    border: 1px solid #8e69d3; /* Aggiunge un bordo blu */
}
.box7 {
    background: #262c49;
    border: 1px solid #16467a; /* Aggiunge un bordo blu */
}
.box8 {
    background: #262c49;
    border: 1px solid #7fac28; /* Aggiunge un bordo blu */
}
.box9 {
    background: #262c49;
    border: 1px solid #c641b0; /* Aggiunge un bordo blu */
}
.box10 {
    background: #262c49;
    border: 1px solid #980c0f; /* Aggiunge un bordo blu */
}
.box11 {
    background: #262c49;
    border: 1px solid #a2655c; /* Aggiunge un bordo blu */
}
.box12 {
    background: #262c49;
    border: 1px solid #50a0ce; /* Aggiunge un bordo blu */
}
.box13 {
    background: #262c49;
    border: 1px solid #ab963e; /* Aggiunge un bordo blu */
}
.box14 {
    background: #262c49;
    border: 1px solid #913b6a; /* Aggiunge un bordo blu */
}
.box15 {
    background: #262c49;
    border: 1px solid #34bd88; /* Aggiunge un bordo blu */
}
.box16 {
    background: #262c49;
    border: 1px solid #f4b334; /* Aggiunge un bordo blu */
}
.box17 {
    background: #262c49;
    border: 1px solid #2b5a26; /* Aggiunge un bordo blu */
}
.box18 {
    background: #262c49;
    border: 1px solid #db9dbf; /* Aggiunge un bordo blu */
}
.box19 {
    background: #262c49;
    border: 1px solid #bbd7ea; /* Aggiunge un bordo blu */
}
.box20 {
    background: #262c49;
    border: 1px solid #a3c6e0; /* Aggiunge un bordo blu */
}


.pulse-effect {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(248, 131, 121, 0.5); /* #F88379 con opacità 0.5 */
    }
    70% {
        box-shadow: 0 0 0 10px rgba(248, 131, 121, 0); /* #F88379 completamente trasparente */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(248, 131, 121, 0); /* #F88379 completamente trasparente */
    }
}

.table-header, .table-cell {

    border-top: 1px solid #343a40;
}

.table-cell {

    color: #fff;
}

@keyframes moveRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(80px); }
}

.moving {
    animation: moveRight 2s forwards; /* Cambia la durata dell'animazione come preferisci */
}

.robot{
    margin-top:-5px;
    width: 35%;
} 


#submit-button {
    margin-top:-30px;
}

/* Aggiungi questa classe CSS nel tuo file di stile o nel tag <style> nell'head del tuo documento */
        .swal-text-left {
          text-align: left !important;}

          .table-cell {
            position: relative;
            padding-right: 10px;
        }




