/* static/style.css */

body { 
    padding: 20px 10px; 
    background-color: #f9f9f9; 
}

.container { 
    max-width: 600px; 
    background: white; 
    padding: 30px; 
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}

h2, h3 { 
    text-align: center; 
    color: #333; 
}

h3 { 
    font-size: 1.1rem; 
    font-weight: normal; 
    color: #666; 
    margin-bottom: 30px; 
}

/* Griglia bottoni */
.btn-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 10px; 
    margin-bottom: 20px; 
}

.media-btn { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    padding: 15px 5px; 
    border: 2px solid #eee; 
    border-radius: 10px; 
    cursor: pointer; 
    transition: 0.2s;
    background: #fff; 
    color: #555; 
    text-align: center; 
    font-size: 0.9rem; 
    font-weight: bold;
}

.media-btn span { 
    font-size: 2rem; 
    margin-bottom: 5px; 
    display: block;
}

.media-btn:hover { 
    background-color: #f0f0f0; 
}

.media-btn.active { 
    border-color: #e91e63; 
    background-color: #fce4ec; 
    color: #e91e63; 
}

/* Stile per l'avviso giallo (Suggerimento) */
.hint-text {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin: 15px 0 20px 0;
    background-color: #fff3cd;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ffeeba;
    line-height: 1.4;
}

/* Nascondi input reali */
input[type="file"] { 
    display: none; 
}

/* Feedback visivo nome file */
#file-name { 
    text-align: center; 
    color: #e91e63; 
    font-weight: bold; 
    margin-bottom: 20px; 
    min-height: 24px; 
    padding: 10px;
    background: #fff0f5; 
    border-radius: 8px; 
    display: none;
}

/* Progress bar e pulsante */
#progress-wrapper { 
    display: none; 
    margin-top: 20px; 
}

button[type="submit"] { 
    background-color: #e91e63; 
    border: none; 
    font-size: 1.2rem; 
    padding: 15px; 
}

button[type="submit"]:hover { 
    background-color: #d81b60; 
}

button[type="submit"]:disabled {
    background-color: #cccccc; /* Grigio */
    color: #666666; /* Testo scuro smorto */
    cursor: not-allowed; /* Cursore divieto */
    opacity: 0.7;
}