:root {
    --primary: #0074c8; 
    --secondary: #de4700;
    --secondary-hover: #cf4412; 
    --background: #ffffff; 
    --text-color-label: #636363;
    --text-color-h3: #555555;
    --border-color: #ccc; 
    --shadow-color: rgba(65, 65, 65, 0.56); 
    --font-family: "inherit",sans-serif;
}

body {
    background-color: var(--primary);
}

.logo {
    background: white; 
    padding: 20px; 
    max-width: 64%;
    display: block; 
    margin: 0 auto;
    margin-top:10px;
}

.logo-img {
    max-width: 70%; 
    display: block; 
    margin: 0; 
}

.main-container {
    width: 100%;
    max-width: 64%; 
    margin: auto;
    padding: 20px; 
    background-color: var(--background); 
    border-radius: 0; 
    margin-top: 80px;
}

.form-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.card-container {
    flex: 1;
    min-width: 45%;
    padding: 20px;
    border-radius: 0px;
}

.styled-button {
    padding: 10px 20px;
    border: none;
    background-color: var(--secondary);
    color: var(--background);
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    max-width: 40%; 
    width: auto; 
    margin-bottom: 10px;
    font-size: 18px;  
}

.styled-button:hover {
    background-color: var(--secondary-hover);
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 0px;
    font-size: 16px;
    margin: 0px 0px 15.52px;
}

textarea {
    resize: vertical;
}

.woocommerce-input-wrapper input {
    width: 100%;
    padding: 11.64px;
    border-radius: 0px;
    border: 1px solid var(--border-color);
    margin: 0px 0px 15.52px;
    margin-top: 10px;
}

img {
    width: 166px; 
    height: auto;
}

h3 {
    font-family: var(--font-family);
    font-size: 17.6px;
    margin-bottom: 20px;
    color: var(--text-color-h3);
}

label {
    font-family: var(--font-family);
    font-size: 14.4px;
    margin: 0px 0px 5.76px;
    color: var(--text-color);
    font-weight: bold;
}

.checkbox-container,
.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center; 
}

.button-container {
    display: flex;            
    justify-content: center;  
    margin-top: 10px;      
} 

.card1 {
    background-color: white;
    padding: 20px;
    margin: 30px auto;
    max-width: 59%;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    padding: 20px;
}

#overlay {
    opacity: 1 !important;
    z-index: 9999;
    will-change: opacity, transform;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cv-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 7px #ddd solid;
    border-top: 7px #D70006 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
    margin: 20px 0px;
}

/* diseño termino y condiciones */
.form-wrapper.terms-wrapper {
    display: flex;                
    align-items: center;       
    justify-content: center;      
    text-align: center;            
    margin-top: 20px;  
        
}

.woocommerce-terms-and-conditions-checkbox-text {
    font-weight: bold;              
    font-size: 16px;   
    font-family: var(--font-family);      
}

.woocommerce-terms-and-conditions-link{
    color: #a66262;
    cursor: pointer;  
}

.woocommerce-terms-and-conditions-link:hover{
    color: #1d1d1dee;
}

.woocommerce-form__input-checkbox {
    cursor: pointer;
}


.eye-icon {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

button#togglePassword1,
button#togglePassword2 {
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    margin: 0;
}



/* diseño para celular */
@media (max-width: 1280px) {
    .logo-img {
        max-width: 100%;
    }

    .main-container {
        max-width: 95%;
        margin-top: 20px;
    }

    .form-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .card-container {
        flex: 1;
        min-width: 100%; 
        padding: 20px;
        border-radius: 0px;
    }

    .styled-button {
        max-width: 100%;
        width: 100%; 
    }

    .container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .card1 {
        max-width: 100%;
        margin: 20px auto;
        padding: 15px;
    }

    img {
        width: 100%; 
    }

    h3 {
        font-size: 40px; 
    }

    label {
        font-size: 20px; 
    }

    .woocommerce-input-wrapper input{
        padding: 30px;
        font-size: 16px;
        height: 50px;
        max-width: 90%;
    }

    input[type="text"],
    input[type="email"],

    textarea{
        max-width: 90%;
        padding: 30px;
        font-size: 30px;
        height: 50px;
    }

    select{
        max-width: 90%;
        padding: 20px;
        font-size: 15px;
    }

    .checkbox-container,
    .button-container {
        margin-top: 20px;
        display: flex;
        justify-content: center; 
    }

    .button-container {
        display: flex;            
        justify-content: center;  
        margin-top: 10px;      
    } 

    .form-wrapper.terms-wrapper {
        display: flex;                
        align-items: center;       
        justify-content: center;      
        text-align: center;            
        margin-top: 20px;      
    }

    .woocommerce-terms-and-conditions-checkbox-text {
        font-weight: bold;              
        font-size: 30px;   
        font-family: var(--font-family);        
    }

    .woocommerce-terms-and-conditions-link{
        color: #a66262;
    }

    .woocommerce-form__input-checkbox {
        transform: scale(2.1);
        cursor: pointer;
    }

    .styled-button {
        padding: 15px;
        border: none;
        cursor: pointer;
        font-size: 40px;  
    }
}