* {
    margin-left: 0px;
    margin-right: 0px;
}

.htmlIndex,
#bodyIndex {
    font-family: 'Roboto', sans-serif;
    background-color: #F5F5F5;
}

.containerEsterno {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 400px;
    max-width: 100%;
    height: 680px;
    margin-top: 50px;
    margin: 0 auto;
}
/* Stile per il checkbox */
label input[type="checkbox"] {
    margin-right: 8px; 
    width: 16px; 
    height: 16px;
    margin-bottom: 20px;
}
.ricordami-span {
    text-decoration: underline !important;
}

.form-container {
    padding: 20px;
}

.form-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.titleform {
    text-align: center;
}

.tab-button.active {
    background-color: #071C8C;
    color: white;
}

.form-content {
    position: relative;
    transition: transform 0.3s ease;
    height: 300px;
}

.form {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px;
    box-sizing: border-box;
    transition: opacity 0.8s ease, visibility 0.3s ease;
}

.form input {
    width: 100%; 
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #071C8C;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.form:not(.active) {
    opacity: 0;
    visibility: hidden;
}

.form.active {
    opacity: 1;
    visibility: visible;
}

.logo-container {
    margin-bottom: 20px;
    margin-top: 40px;
    text-align: center;
}

.logo {
    width: 150px;
}

.error {
    color: red !important;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 768px) {

    .containerEsterno {
        margin-top: 140px;
    }
}

@media (min-width: 768px) and (max-width: 940px) {
    .containerEsterno {
        margin-top: 150px !important;
    }
}



