﻿.register-div {
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0px 0px 16px 0px var(--transparent-black);
    z-index: 2;
    margin: auto;
    width: 100%;
    margin-top: 100px;
    padding: 24px;
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
    max-width: 550px;
    min-width:300px;
}
.title-register p {
    color: var(--darkslategray);
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}
.title-register span {
    color: var(--black-black-64);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}
label {
    color: var(--semi-transparent-dark-gray);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-bottom:8px;
}
input::placeholder {
    color: var(--semi-transparent-dark-gray);
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}
/*form {
    display: grid;
    gap: 16px;
}*/
.btn-signUp {
    border-radius: 4px;
    background: var(--Secondary);
    color: var(--white);
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    padding: 12px 20px;
    border: 0;
    width: 100%;
    margin-top: 16px;
}
.form-control{
    border-radius:8px !important;
}
.external-register {
    justify-items: center;
    gap: 32px;
}
.span-with-line {
    position: relative;
    color: var(--semi-transparent-dark-gray);
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
    .span-with-line::before,
    .span-with-line::after {
        content: "";
        display: block;
        height: 1px;
        background-color: currentColor;
        position: absolute;
        top: 50%;
        width: 100%;
        text-align: center;
    }
    .span-with-line::before {
        left: -16px;
        transform: translateX(-100%);
    }

.span-with-line::after {
    right: -16px;
    transform: translateX(100%);
}

.field-validation-error, #rquierdMessage {
    font-size: 12px;
    color: var(--alert-danger);
}
.form-control:focus {
    border-color: var(--Secondary);
    box-shadow:none;
}
.form-control::placeholder {
    color: var(--semi-transparent-dark-gray) !important;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}
.input-validation-error {
    border-color: var(--alert-danger);
}
    .input-validation-error::placeholder {
        color: var(--alert-danger) !important;
    }
/*External Register*/
.div-button-external {
    display: flex;
    gap: 16px;
    justify-content: center;
    gap: 16px;
}
.facebook-div {
    border-radius: 4px;
    background: var(--facebook-color);
    border: 0;
    width: 48px;
    height: 48px;
}
.google-div {
    border-radius: 4px;
    background: var(--google);
    border: 0;
    width: 48px;
    height: 48px;
}
    .facebook-div i, .google-div i {
        color: var(--white);
        font-size: 20px;
    }

a {
    color: var(--Secondary);
}
    a:hover {
        color: var(--Secondary);
    }


.toggle-password {
    cursor: pointer;
    position: relative;
}

    .toggle-password i:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--black);
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        display: none;
    }
.alert-dismissible {
    background: var(--transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-color: var(--alert-danger);
}
    .alert-dismissible button {
        background: var(--transparent);
        color: var(--Secondary) !important;
        border: 0;
    }
    .alert-dismissible b {
        color: var(--alert-danger) !important;
    }
    @media (max-width: 566px) {
        .span-with-line::before, .span-with-line::after {
        width: 50%;
    }
}

@media(max-width:370px)
{
    .title-register p 
    {
        font-size:25px;
    }
    .title-register span
    {
        font-size:18px;
    }
    .NameValidationRules, .isValidEmail, .password
    {
        width: 89%;
    }
    #togglePassword, #toggleConfirmPassword
    {
        right: 40px !important;
    }
    .btn-signUp
    {
        width:90%;
    }
    .span-with-line
     {

    font-size:12px;
    
    }
}