﻿.form-control {
    height: 40px;
    background-color: #e9ecef;
    border: 0px solid #ced4da;
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: unset !important;
    border: 1px solid #ced4da
}

.form-class .is-invalid ~ .invalid-feedback {
    display: block; 
}

.register-invalid-feedback {
    position: relative;
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}

.register.form-control {
    height: 40px;
    border: 1px solid #ced4da;
    background-color: #fff;
}
.form-group > label {
    font-weight: 600;
}
.select2-container .select2-selection--single {
    height: 40px !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
.fw-800 {
    font-weight: 800;
}
.fw-600 {
    font-weight: 600;
}
.title-second {
    font-size: large;
    color:gray
}

a.hyperlink {
    color: darkblue;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.field {
    display: flex;
    padding: 0px;
    justify-content: space-evenly;
    align-content: stretch;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    align-items: stretch;
}

.icon-left-input {
    width:16px;
    height:auto;
    top: -25px;
    left: 12px;
    position: relative;
}

.icon-right-input {
    position: absolute;
    top: 235px;
    width: 16px;
    height: 16px;
    right: 54px;
}

.card {
    /*width: max-content;*/
    max-width: 540px;
    padding-top: 32px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: .5rem;
}
.text-verify {
    font-size: large;
    color: gray;
}
.text-submit {
    font-size: 16px;
    padding: 13px 24px;
    line-height: 20px;
    font-weight: 500;
    border-radius: 8px;
}
.pt-register-40 {
    padding-top: 40px;
    align-items: baseline;
}

/* ==== Loading ===== */

.vne-loading {
    /* display: none; */
    width: 100%;
    height: 100%;
    position: fixed;
    background: #fff;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index: 1060;
    opacity: 0.9;
    top: 0;
}

    .vne-loading.open {
        display: block;
    }

.lds-dual-ring {
    position: fixed;
    display: inline-block;
    width: 80px;
    height: 80px;
    z-index: 1080;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .lds-dual-ring:after {
        content: " ";
        display: block;
        width: 64px;
        height: 64px;
        margin: 8px;
        border-radius: 50%;
        border: 6px solid #fff;
        border-color: #0084ff transparent #0084ff transparent;
        animation: lds-dual-ring 1.2s linear infinite;
    }

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ====end Loading ===== */
/*start reponsive form tablet*/
@media (max-width: 1024px) {
}
/*end reponsive form tablet*/


/* ==== start responsive for mobile  ====*/

@media (max-width: 768px) {
    .card {
        width: auto;
        padding-top: 16px;
    }
    a {
        font-size:smaller;
    }
    .form-check-label {
        font-size: smaller;
    }
    h2 {
        font-size: 21px;
    }
    .pt-4 {
        padding-top: 0rem !important;
    }
    .pt-register-40 {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    text-submit {
        font-size: small;
    }
    .form-control {
        font-size: 0.8rem;
    }
}
/* ==== end responsive for mobile  ====*/

.invalid-feedback {
    text-align: left;
}

.verify-error {
    color: #C12126FF;
}

.customer-choose .customer-check {
    position: relative;
}

.customer-choose .main-label {
    display: flex;
    padding: 3px 12px;
    cursor: pointer;
    color: black;
    border-radius: 10px;
    border: 1px solid var(--neutral-color-300);
    background-color: white;
    cursor: pointer;
    width: 100%;
    padding: 20px;
}

.customer-choose .main-label, .content-effect {
    margin-bottom: 12px !important;
    animation-duration: 600ms !important;
    animation-iteration-count: 1 !important;
    animation-name: cusanimation;
    transition: all .2s ease-in-out;
}

    .customer-choose .main-label:focus-within, .customer-choose .main-label:hover {
        border-color: transparent;
        box-shadow: 0 0 0 2px #000;
        background-color: var(--neutral-color-500);
    }

.customer-choose .main-label {
    transform: scale(0.95) !important;
}

    .customer-choose .main-label.active {
        box-shadow: 0 0 0 2px #000 !important;
    }

.customer-choose img {
    margin-right: 5px;
    width: 50px;
    height: 50px;
}

.customer-choose .s-first-title {
    width: 100%;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.customer-choose .s-second-title {
    font-size: 16px;
}

.customer-choose input {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

.footer-or {
    width: 100% !important;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    font-weight: 400 !important;
    font-size: 0.75rem !important;
    line-height: 1rem !important;
}

.footer-or-detail {
    -webkit-box-align: center !important;
    display: flex !important;
    align-items: center !important;
    margin: 16px 0px !important;
    white-space: nowrap !important;
}

    .footer-or-detail::before {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        background-color: rgb(221, 221, 221) !important;
        margin-right: 16px !important;
    }

    .footer-or-detail::after {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        background-color: rgb(221, 221, 221) !important;
        margin-left: 16px !important;
    }

#txt-phone, #txt-password {
    font-size: 14px;
}

.social-auth-button {
    padding: 13px 23px;
    border: 1px solid #222;
    width: 100%;
    background-color: white;
    border-radius: 8px;
}

.social-auth-button-container {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    display: flex !important;
    align-items: center !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
}

.social-auth-button-svg {
    flex: 0 !important;
}

.social-auth-button-text {
    flex: 1 !important;
}