﻿.register-form {
    font-family: 'Raleway', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px solid var(--form-border-color);
    border-radius: 1rem;
    background-color: var(--form-background-color);
    padding: 2rem 1.5rem 0 1.5rem;
    position: relative;
}

    /*Glow*/
    .register-form::after {
        content: "";
        position: absolute;
        z-index: -1;
        width: 90%;
        height: 90%;
        border-radius: 300px;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        box-shadow: 0 0 100px 100px var(--form-glow-color);
        background-color: var(--form-glow-color);
        opacity: 0.5;
    }

.register-form-container {
    width: 100%;
    transition: min-height 0.70s ease-in-out;
    overflow: hidden;
    margin-top: 2rem;
    height: 0;
    min-height: 33rem;
}

.register-form-container-hidden {
    min-height: 0;
}

.registrate-ahora {
    width: var(--registrate-ahora-width);
    text-align: center;
    font-weight: var(--registrate-ahora-font-weight);
    font-family: var(--registrate-ahora-font-family);
    font-size: var(--registrate-ahora-font-size);
    color: var(--registrate-ahora-font-color);
    letter-spacing: var(--registrate-ahora-letter-spacing);
    text-shadow: var(--registrate-ahora-text-shadow);
    line-height: var(--registrate-ahora-line-height);
}

.button-container {
    margin: 2vh 0;
    width: 90%;
}

.button {
    display: flex;
    align-items: center;
    width: 100%;
    /*border-radius: 0.125rem;*/
    border-radius: 0.5rem;
    cursor: pointer;
    margin: 0.75rem 0;
    transition: background-color 0.25s ease-in-out;
    height: var(--btn-height);
}

.btn-google {
    border: 3px solid var(--google-btn-border-color);
    background-color: whitesmoke;
    color: var(--google-btn-font-color);
    display: flex;
    align-items: center;
    font-weight: 600;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

    .btn-google:hover {
        background-color: #ddd;
    }

    .btn-google img {
        width: 2.2rem;
        height: 100%;
        margin: 0;
        margin: 0 0.5rem;
        display: block;
    }

.email-svg {
    width: 1.25rem;
    margin: 0 1rem;
    fill: whitesmoke;
}

.email-btn {
    color: whitesmoke;
    background-color: var(--ax5-orange);
}

    .email-btn:hover {
        background-color: var(--btn-hover);
    }


.tu-cuenta-te-permitira {
    font-family: var(--tu-cuenta-te-permitira-font-family);
    font-size: var(--tu-cuenta-te-permitira-font-size);
    width: 80%;
    text-align: center;
    color: var(--tu-cuenta-te-permitira-font-color);
}

.password-recovery-link {
    text-decoration: none;
    color: var(--password-recovery-link-color);
    padding: 0 0.5rem;
    margin: 0.5rem 0;
}

    .password-recovery-link:hover {
        text-decoration: underline;
    }

/*------------------------------------------------------------------------------------------*/
/* FORMULARIO                                                                               */
/*------------------------------------------------------------------------------------------*/

.register-form-ul {
    display: flex;
    flex-direction: column;
}

    .register-form-ul li {
        display: flex;
        justify-content: center;
        width: 100%;
    }

        .register-form-ul li:last-child, .register-form-ul li:nth-child(3) {
            flex-direction: column;
        }

.field-group {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    padding: 0 0.25rem;
}

.captcha-field {
    margin-top: 1.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.checkbox-field {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin: 1rem 0;
}

    .checkbox-field a {
        color: whitesmoke;
        text-decoration: none;
    }

.btn-register-field {
    display: flex;
    align-items: center;
    justify-content: center;
}

.position-relative {
    position: relative;
}

input[type="text"], input[type="email"], input[type="password"], .combo-box {
    padding-left: 1.2rem;
    font-size: 1rem;
    width: 100%;
    display: inline-block;
    background-color: var(--input-background-color);
    border: 1px solid var(--input-border-color);
    height: var(--input-height);
    color: var(--input-font-color);
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    border-radius: 0.5rem;
}

    .combo-box[selected] {
        color: var(--input-background-color);
    }

    .combo-box option:first-of-type {
        color: var(--input-placeholder-color);
    }


/*/////////////////////// AUTOFILL /////////////////////////*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: whitesmoke;
    -webkit-box-shadow: 0 0 0px 1000px var(--input-background-color) inset;
}

.input-captcha {
    color: var(--input-placeholder-color);
    margin-top: 1rem;
}

input[type=checkbox] {
    position: relative;
    cursor: pointer;
    margin-left: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    input[type=checkbox]:before {
        content: "";
        display: flex;
        position: absolute;
        width: 25px;
        height: 25px;
        top: -6px;
        border-radius: 2px;
        border: 1px solid var(--input-border-color);
        background-color: var(--input-background-color);
    }

    /*Tilde*/
    input[type=checkbox]:checked:after {
        content: "";
        display: block;
        width: 7px;
        height: 14px;
        border: solid var(--checkbox-check-color);
        border-width: 0 2px 2px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        top: -2px;
        /*left: 9px;*/
    }

.btn-register {
    padding: 1rem 0;
    width: 80%;
    border: 2px solid var(--input-font-color);
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--input-font-color);
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: var(--btn-create-account-color);
    transition: background-color 0.45s ease-in-out;
}

.btn-register:hover {
    background-color: var(--btn-create-account-color-hover);
}

.approve {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--input-height);
    position: absolute;
    right: 9px;
    color: whitesmoke;
}

.approve-icon {
    background-color: var(--success-color);
    text-shadow: none;
    border: none;
    padding: 5px 10px;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reject, .send-message-error, .reject-disclaimer {
    color: var(--error-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
}

    .reject a {
        color: var(--input-border-color);
    }

.reject-disclaimer {
    margin: unset;
    margin-left: 1.25rem;
}

.send-message-error-hide {
    display: none;
}

.send-message-success {
    color: var(--input-font-color);
    background-color: var(--success-color);
    border-radius: 0.5rem;
    padding: 10px;
    margin: 1rem 0 1rem 0;
    font-size: 0.9rem;
}

.adu-link:hover {
    text-decoration: underline;
}

/*------------------------------------------------------------------------------------------*/
/* ACTIVATION MESSAGE                                                                       */
/*------------------------------------------------------------------------------------------*/

.act-text {
    color: var(--input-font-color);
    font-family: 'Raleway', sans-serif;
}

.act-text-highlight {
    color: var(--input-border-color);
    font-size: 2.2rem;
    text-transform: uppercase;
    padding: 0 0.5rem 0 0.5rem;
}

.act-ax5-orange-highlight {
    color: var(--ax5-orange);
    font-weight: bold;
}

.act-text-secondary, .act-email-color {
    color: var(--input-border-color);
    font-family: 'Raleway', sans-serif;
}

.act-ul {
    list-style: none !important;
}

/*------------------------------------------------------------------------------------------*/
/* EYE PASSWORD                                                                             */
/*------------------------------------------------------------------------------------------*/

.eye {
    position: absolute;
    right: 2rem;
    height: 100%;
    display: flex;
    justify-self: flex-start;
    height: var(--input-height);
    padding: 0 1rem;
    cursor: pointer;
}

.eye-slash {
    display: none;
}

.eye svg {
    width: 1.2rem;
    fill: var(--input-placeholder-color);
}

/*------------------------------------------------------------------------------------------*/
/* MEDIA QUERYS                                                                             */
/*------------------------------------------------------------------------------------------*/

@media screen and (max-width: 1200px) {
    .register-form {
        width: 95%;
        padding-left: 1rem;
        padding-right: 1rem;
        /*min-height: unset;*/
    }

    .registrate-ahora {
        font-size: 2.5rem;
        width: 90%;
        padding: 0;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 768px) {
    .registrate-ahora {
        font-size: calc(var(--registrate-ahora-font-size) -  0.75rem);
    }
    
    .register-form {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

        .register-form::after {
            width: 60%;
            height: 60%;
        }

    .tu-cuenta-te-permitira {
        width: 90%;
        font-size: 0.95rem;
    }

    .checkbox-field a, .password-recovery-link {
        font-size: 0.85rem;
        padding-left: 0;
        padding-right: 0;
    }

    .btn-register {
        font-size: 1.25rem;
    }

    .act-text-highlight {
        padding: 0;
        font-size: 2rem;
    }

    .approve {
        padding: 1px 3px 1px 3px;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .registrate-ahora {
        font-size: 2.25rem;
        width: 90%;
    }
}

/*FIN MEDIA QUERYS*/