

.form-container {
    width: 100%;
    padding: 0 16px;
    font-family: Verdana, sans-serif;
    box-sizing: border-box;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    margin-top: 6px;
    gap: 16px;
    align-items: center;
}
.logo-row {
    align-items: center; /* allinea immagine e form sulla stessa riga verticalmente */
}

.center-horizontal {
    display: flex;
    justify-content: center;
     width: 100%;
}

.justify-center {
    justify-content: center;
}
.image-wrapper {
    position: relative;
    width: fit-content;
    text-align: center;
}

.logo-box {
    position: relative;
    width: 135px;
    height: 128px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    overflow: hidden;
    box-sizing: border-box;
    padding: 4px;
    text-align: center;
}

.logo-box img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.logo-caption {
    font-size: 11px;
    color: #666;
    padding-top: 4px;
    line-height: 1.2;
}
.banner-box {
    position: relative;
    width: 128px;
    height: 128px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    overflow: hidden;
    box-sizing: border-box;
    padding: 4px;
    text-align: center;
}

.banner-box img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.banner-caption {
    font-size: 11px;
    color: #666;
    padding-top: 4px;
    line-height: 1.2;
}


.image-close {
    position: absolute;
    top: -6px;
    right: -10px;
    color: black;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    
    border-radius: 50%;
    padding: 0 5px;
  
}
.image-caption {
     font-size: 12px;
    color: #666;
    margin-top: 8px;
    max-width: 140px;
}

.column {
    flex: 1;
    min-width: 280px;
    padding: 0;
    box-sizing: border-box;
}
.column-auto {
       flex: 0 0 auto;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Box centrato e con larghezza massima ragionevole */
.file-upload-box {
   max-width: 400px;
    width: 100%;
    text-align: center;
}
.file-upload-box-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.section-title {
    width: 100%;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 12px 10px;
    background-color: #FFA500;
    box-sizing: border-box;
    
}

.section-title.large {
    font-size: 31px;
}

.full-width {
    width: 100%;
}

.form-input,
input[type="text"],
input[type="file"],
textarea {
    width: 100%;
    font-size: 13px;
    padding: 8px;
    resize: none;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Verdana, sans-serif;
}

textarea {
    resize: vertical;
}

.label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.submit-button {
    width: 100%;
    height: 43px;
    background-color: #FFA500;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #e59400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.spacer {
    height: 10px;
    width: 100%;
}



@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 10px;
    }

    .submit-button {
        font-size: 20px;
    }

    .section-title.large {
        font-size: 24px;
    }
}
