.hidden {
    display: none;
}

.contact-container form {
    padding: 20px;
    background: #FFF;
    border-radius: 30px;
    border: 3px solid #60A699;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, .40);
    width: 45%;
    max-width: 800px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items:center;
    margin: 60px auto;
    padding: 20px;
    /*temp for grids
    background-image: 
    linear-gradient(to right, rgba(0,0,0,.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.1) 1px, transparent 1px);
    background-size: 20px 20px;*/
}


.contact-text h1 {
    font-family: "Nunito Sans"; 
    font-size: 24px;
    font-weight: 600;
    color: #043259;
    display: block;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.contact-text p {
    font-family: "Nunito Sans"; 
    font-size: 14px;
    font-weight: 400;
    color: #043259;
    text-align: center;
    margin-bottom: 3px;
    margin-top: 10px;
    padding-left: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    word-wrap: break-word;
    line-height: 1.5;
}

.contact-type-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 20px 0 30px;
    
}

.contact-type {
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-type.active h3,
.contact-type:hover h3 {
    background-color: #60A699;
    color: white;
}

.contact-user h3,
.contact-provider h3,
.contact-other h3 {
    color: #043259;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-weight: 600;
    padding: 8px 40px;
    border: 3px solid #60A699;
    background-color: white;
    border-radius: 8px;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.security-warning-container {
    width: 76%;
    height: auto;
    flex-shrink: 0;
    background-color: #fef5cd;
    border-radius: 6px;
    border: 1px solid #deb70e;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 58px;
    padding: 2px 24px;
}

.security-warning-container p {
    color:  #043259;
    font-family: "Nunito Sans";
    font-size: 12px;
    padding: 0;

}

.privacy-warning-container {
    border: 2px solid #043259;
    background-color: rgba(136, 170, 200, 0.19);
    width: 83%;
    margin-left: 58px;
    height: auto;
    flex-shrink: 0;
    border-radius: 6px;
    margin-bottom: 20px;
    align-items: center;
}


.privacy-warning-container h3{
    color: #043259;
    font-family: "Nunito Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    padding-left: 24px;
    padding-right: 24px;

}

.privacy-warning-container section{
    color: #043259;
    font-family: "Nunito Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding-left: 24px;
    padding-right: 24px;

}

.contact-check {
    margin-left: 58px
}

.contact-check label {
    font-size: 12px;
    font-family: "Nunito Sans";
    color: #043259; 
    margin-left: 10px
}

.contact-container button {
    width: 200px;
    height: 40px;
    background-color: #043259;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
    margin: 15px auto;
    border: none; 
    display: block;
    cursor: pointer;
}



#contactDetails {
    width: 100%;
    padding: 20px;
}

#contactDetails * {
    box-sizing: border-box;
}

/*this is supose to be apellidos maybe remove 15px */
.name-fields {
    display: flex;
    flex-direction: column;
    width: 83%;
    margin-bottom: 20px;
    margin-left: 58px;

}

.name-fields-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.name-fields-labels label {
    font-size: 16px;
    font-family: "Nunito Sans";
    color: #043259;
    margin-bottom: 8px;
    width: calc(50% - 10px);
}
        
.name-inputs {
    display: flex;
    width: 100%;
    justify-content: space-between;

}

.name-inputs input {
    background-color: rgba(176, 217, 205, .35);
    font-size: 14px;
    font-family: "Nunito Sans";
    color: #043259;
    border: 2px solid #60A699;
    border-radius: 6px;
    height: 40px;
    padding: 5px;
    width: calc(50% - 10px); /* Make each input take ~50% width minus gap */
}

.contactContacts {
    display: flex;
    width: 83%;
    margin-bottom: 20px;
    margin-left: 58px;
    gap: 20px;
    
}

.contactContacts label {
    font-size: 16px;
    font-family: "Nunito Sans";
    color: #043259;
    margin-bottom: 8px;

}
.phone-input, .email-input {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.email-icon::before {
    content: "✉";
}

.input-with-icon input {
    width: 100%;
    height: 40px;
    background-color: rgba(176, 217, 205, .35);
    border: 2px solid #60A699;
    border-radius: 6px;
    padding: 5px;
    padding-left: 10px;
    font-size: 14px;
    font-family: "Nunito Sans";
    color: #043259;
    
}

.email-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('email-icon.png'); /* Add your icon */
    background-size: contain;
    background-repeat: no-repeat;
}


.contactSubject {
    width: 83%;
    margin-bottom: 20px;
    margin-left: 58px;
}


.contactDescription label {
    font-size: 16px;
    font-family: "Nunito Sans";
    color: #043259;
    margin-bottom: 8px;

}

.subject-input .input-open-text1 input {
    width: 100%;
    background-color: rgba(176, 217, 205, .35);
    border: 2px solid #60A699;
    border-radius: 6px;
    padding: 5px;
    padding-left: 10px;
    font-size: 14px;
    font-family: "Nunito Sans";
    color: #043259;
    height: 40px;
    margin-top: 8px;
}

.contactSubject label {
    font-size: 16px;
    font-family: "Nunito Sans";
    color: #043259;
}

.contactDescription {
    width: 83%;
    margin-bottom: 40px;
    margin-left: 58px;
}

.description-input {
    display: flex;
    flex-direction: column;
}

.input-open-text {
    width: 100%;
}

.contactDescription .input-open-text input {
    height: 100px; /* Taller field for details */
    width: 100%;
    background-color: rgba(176, 217, 205, .35);
    border: 2px solid #60A699;
    border-radius: 6px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    font-family: "Nunito Sans";
    color: #043259;
    text-align: wrap;
}


/* ----- RESPONSIVE STYLES ----- */
@media (max-width: 768px) {
    .name-fields-labels,
    .name-inputs,
    .contactContacts {
        flex-direction: column;
    }
    
    .name-fields-labels label,
    .name-inputs input,
    .phone-input,
    .email-input {
        width: 100%;
        margin-bottom: 10px;
    }
}