﻿
@font-face {
    font-family: HyundaiSansHeadOffice-Regular;
    src: url(../font/HYUNDAISANSHEADOFFICE-REGULAR.TTF);
}

@font-face {
    font-family: HyundaiSansHeadOffice-Medium;
    src: url(../font/HyundaiSansHeadOfficeMedium.ttf);
}

.imgLoader {
    position: absolute;
    margin: 0px;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
}

body {
    font-family: 'HyundaiSansHeadOffice-Regular';
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    position: relative;
}

.bg-primary {
    background-color: #003169 !important;
}

.bg-lightsand {
    background: #f6f3f2 !important;
}

.bg-sand {
    background: #E4DCD3 !important;
}

label {
    font-size: 1.2em !important;
}

.formStyle {
    font-family: 'HyundaiSansHeadOffice-Regular';
    font-size: 1em !important;
}

h1, h2, h3, h4, h5 {
    font-family: HyundaiSansHeadOffice-Medium;
}

.inputStyle {
    height: 3rem;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.textAreaStyle {
    min-height: 10rem !important;
}

.btn-primary {
    background-color: #003169 !important;
    border-color: #003169 !important;
}

.otpStyle {
    font-size: 1em !important;
    font-family: 'HyundaiSansHeadOffice-Regular';
    text-align: center;
}

.otpgroup {
    display: flex;
    gap: 10px;
}

.inpVinStyle {
    font-size: 1em !important;
    height: 3rem;
    font-family: 'HyundaiSansHeadOffice-Regular';
    width: 25%;
    text-align: center;
    margin-right: .25rem;
    padding: 0 !important;
}

.vin-wrapper {
    gap: 4px;
}

.btnVefify {
    font-size: 1em !important;
    height: 50px;
    font-family: 'HyundaiSansHeadOffice-Regular';
    background-color: #002c5f;
    color: white;
    border: none;
}

.btnOTP {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    font-size: 1em !important;
    height: 3rem;
    font-family: 'HyundaiSansHeadOffice-Regular';
    background-color: #002c5f;
    color: white;
    border: none;
}

.btnSubmit {
    font-size: 1em !important;
    height: 50px;
    font-family: 'HyundaiSansHeadOffice-Regular';
    background-color: #002c5f;
    color: white;
    border: none;
}

.form-control.is-valid ,
.form-select.is-valid ,
.was-validated .form-control:valid ,
.was-validated .form-select:valid {
    border-color: #dee2e6 !important;
}

.form-control:optional.is-valid,
.form-select:optional.is-valid,
.was-validated .form-control:optional:valid,
.was-validated .form-select:optional:valid {
    border-color: #dee2e6 !important;
    background-image: none;
}

.form-control.is-valid:focus,
.form-select.is-valid:focus,
.was-validated .form-control:valid:focus,
.was-validated .form-select:valid:focus {
    border-color: #00aad2 !important;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus,
.was-validated .form-control:invalid:focus,
.was-validated .form-select:invalid:focus {
    border-color: #dc3545 !important;
}

.form-check-input.is-valid ~ .form-check-label,
.was-validated .form-check-input:valid ~ .form-check-label,
.was-validated .form-check-input:invalid ~ .form-check-label {
    color: black !important;
}

.form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
    background-color: #003169 !important;
    border-color: #003169 !important;
}

.form-check-input:checked {
    background-color: #003169 !important;
    border-color: #003169 !important;
}

.form-check-input:focus {
    border-color: none !important;
    outline: 0;
    box-shadow: none !important;
}

.form-group {
    position: relative !important;
}

.form-control, .form-select {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.form-group label,
.form-control:placeholder-shown ~ label{
    position: absolute;
    font-size: 1em !important;
    top: 0.80em !important;
    left: 1em !important;
    background: white;
    color: #909090 !important;
    z-index: 1;
    transition: .2s ease all;
    transition-delay: calc(var(--index) * .05s);
}

.form-control:focus ~ label,
.form-select:focus ~ label {
    transform: translateY(-1.60em);
    color: #00aad2 !important;
    font-weight: 500;
}

.form-control:valid required ~ label,
.form-control:not(:placeholder-shown) ~ label,
.form-select:valid ~ label {
    transform: translateY(-1.60em);
}

.was-validated .form-control:invalid ~ label,
.was-validated .form-select:invalid ~ label {
    color: #dc3545 !important;
}

.form-control:focus, .form-select:focus {
    border: 2px solid #00aad2 !important;
    /*    border-bottom: 2px solid #00aad2 !important;*/
    box-shadow: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.swal2-styled.swal2-confirm {
    background-color: #003169 !important;
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: none !important;
}

#inpVin, #inpPlateCsNumber {
    text-transform: uppercase !important;
}

#btnVerifyVin {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size: 1em !important;
    height: 50px;
    font-family: 'HyundaiSansHeadOffice-Regular';
    background-color: #002c5f;
    color: white;
}

.vin {
    display: flex;
    align-content: center;
    justify-content: center;
    height: 80%
}

#invalidAgeFeedback {
    font-size: .875em;
    margin-top: .25rem;
}

.px-6 {
    padding-left: 6.5rem !important;
    padding-right: 6.5rem !important;
}

.carModelHeader {
    font-size: 4rem !important;
}

.queuingTable {
    height: 100vh !important;
}

.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    color: #002c5f;
}

.spinner-border {
    width: 75px;
    height: 75px;
    border-width: 8px;
}


@media (min-width: 425px) {
    .carModelHeader {
        font-size: 5.5rem !important;
    }

    .carVariantName {
        font-size: 2rem !important;
    }

    .label-progress {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .carModelHeader {
        font-size: 4rem !important;
    }

    .carVariantName {
        font-size: 1.5rem !important;
    }

    .label-progress {
        display: none !important;
    }
}


#logoContainer {
    width: 200px;
    padding: 10px 0;
}

.stepper-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
}

.stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    height: 90px;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D1CFCD;
    flex-shrink: 0;
    transition: background-color 0.4s ease;
}


    .circle.active {
        background: #4BDDFF;
    }

    .circle.completed {
        background: #002c5f;
    }

.connector {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #D1CFCD;
    z-index: -1;
    transition: background-color 0.4s ease;
}

    .connector.completed {
        background-color: #002c5f;
    }

.step:last-child .connector {
    display: none;
}

.stepLabel {
    font-size: 12px;
    text-align: center;
    max-width: 80px;
    white-space: pre-line;
}
