
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Stili globali e reset minimal */
body {
    font-family: 'Poppins','Open Sans', sans-serif; /* Font corpo */
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Sfondo leggermente grigio per stacco */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Assicura che il body occupi l'intera altezza della viewport */
    color: #333333; /* Colore testo generale */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', serif; /* Font titoli */
    font-weight: 500;
    color: #0055A4; /* Colore primario per i titoli, se presenti */
}

h1 {
	font-size: 16pt;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px; /* Limite massimo per un'esperienza mobile gradevole */
    height: 100vh; /* Occupo l'intera altezza disponibile su mobile */
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 15px; /* Bordi arrotondati */
    overflow: hidden; /* Per contenere bene i bordi arrotondati */
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contenitore per immagini in header */
/* HEADER */
/* HEADER */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    background-color: #FFFFFF; /* Colore primario */
    gap: 25px; /* Spazio tra i loghi */
}

.header img {
    max-height: 65px; /* Altezza massima per i loghi */
    max-width: 180px; /* Larghezza massima per i loghi */
    width: auto;
    object-fit: contain; /* Assicura che il logo sia contenuto senza distorsioni */
}

/* Contenitore principale di ogni magina */
.main {
    flex-grow: 1;
    background: #f7f7f7;
    overflow-y: auto;
}

/* FOOTER */
.footer {
    padding: 10px 15px;
    background-color: #FFFFFF;
    text-align: center;
    margin-top: 10px;
}

.button-footer {
    background-color: #FFC20E; /* Colore secondario */
    color: #333333;
    border: none;
    border-radius: 15px; /* Bordi leggermente arrotondati */
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Poppins','Open Sans', sans-serif; /* Font corpo */
    font-weight: 500;
}

.button-footer:hover {
    background-color: #e6b00c; /* Scuro leggermente all'hover */
}

/* Bottone per l'invio di testo */
.button-send {
    background-color: #0055A4; /* Colore primario */
    color: #ffffff;
    border: none;
    border-radius: 15px; /* Bordi arrotondati */
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Poppins','Open Sans', sans-serif; /* Font corpo */
    font-weight: 500; /* Leggermente più spesso */
}

.button-send:hover {
    background-color: #004488; /* Scuro leggermente all'hover */
}

/* Contenitore per aree collassabili */
.collapsible-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: f7f7f7;
    color: black;
    padding: 10px;
    cursor: pointer;
    margin-bottom: 5px;
}

.collapsible-container .collapsible-text {
    flex-grow: 1;
}

.toggle-button {
    background-color: #fff;
    color: #696969;
    border: none;
    cursor: pointer;
    font-size: 12px;    
    border-radius: 15px;
    width: 100px;
    height: 40px;
    text-align: center; 
}

.toggle-button:hover {
    background-color: #e8e8e8;
}
    
.single-container {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px #aaa;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
}

.input-text {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    padding: 40px;
    font-family: 'Poppins','Open Sans', sans-serif;
}


/* Bottone per menù scelta */
.button-choice {
	border: none;
	border-radius: 15px;
	padding: 10px 20px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-family: 'Poppins','Open Sans', sans-serif; /* Font corpo */
	font-weight: 500;
    background-color: #e0f2f7;
    color: #333333;
    flex: 1;
    width: 90%;
    height: 60px;    
    margin-bottom: 20px;
}

.button-choice:hover {
    background-color: #57afbb; /* Scuro leggermente all'hover */
}

label_t1 {
    display: block;
    color: #7a7a7a;
    text-align: center;
    font-size: 1em;
    margin-bottom: 40px;
}

label_t2 {
    display: block;
    color: #7a7a7a;
    text-align: center;
    font-size: 1em;
    margin-bottom: 10px;
}

label {
    color: #7a7a7a;
    font-size: 1em;
}

input {
    color: #7a7a7a;
    font-size: 1em;
    height: 2em;
    padding-left: 10px;
}


/* RESPONSIVITÀ PER TABLET (e schermi più grandi) */
@media (min-width: 768px) {
    .container {
        height: 90vh; /* Leggermente meno alto per lasciare spazio sui bordi */
        max-width: 600px; /* Aumentiamo la larghezza massima per tablet */
        border-radius: 15px;
    }

    .header {
        padding: 20px 15px;
    }

    .header img {
        max-height: 75px; /* Loghi più grandi */
        max-width: 220px; /* Loghi più grandi */
    }
    
    h1 {
		font-size: 20pt;
	}

    #user-input {
        font-size: 17px;
    }

    .button-send {
        padding: 12px 25px;
        font-size: 17px;
    }

    .footer {
        padding: 15px 20px;
    }

    .button-footer {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    /* Bottone per menù scelta */
	.button-choice {
	    height: 80px;    
	}
}

/* Stili per schermi desktop più grandi (opzionale, ma utile per la coerenza) */
@media (min-width: 1024px) {
    .container {
        max-width: 800px; /* Ancora più largo per desktop */
    }
}


