body {
    font-family: "Inter", serif;
    font-style: normal;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-image: url(img/bg-main.jpg);
    backdrop-filter: blur(8px) brightness(0.9);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    padding-top: 110px;
    padding-bottom: 500px;
}

input[type="date"] {
    cursor: pointer;
}

.form-container {
    background: #ededed;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px rgb(66 79 84);
    width: 100%;
    max-width: 700px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .form-container {
        margin: 10px;
        padding: 30px;
    }
}


.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background: #22c2ff;
    transition: width 0.3s ease;
}

.company-logo {
    text-align: center;
}

.company-logo img {
    margin: 12px 0 20px 0;
}

.section-label {
    color: #ffffff;
    background: #ed1c24;
    padding: 8px 40px;
    border-radius: 0 8px 8px 0;
    margin-left: -40px;
    width: 70%;
    margin-top: 40px;
    margin-bottom: 30px;
}

.section-label h2 {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

.optional-label {
    color: #22c2ff;
    font-weight: 600;
}

.required-label {
    color: #ff4343;
    font-weight: 600;
}

.step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step.active {
    display: block;
}

h2 {
    color: #1f2937;
    margin-bottom: 30px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    font-size: 14px;
    color: #535353;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

input[type=text],
input[type=number],
input[type=date],
input[type=email],
input[type=tel],
textarea,
select {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type=date],
input[type=time] {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
}

textarea.form-control {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

select {
    cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0094cd;
}

button:disabled,
button[disabled] {
    background-color: #cccccc !important;
    color: #666666 !important;
    transition: none !important;
    cursor: no-drop;
}

button[disabled]:hover {
    transform: none !important;
    box-shadow: none !important;
}

.form-check input {
    cursor: pointer;
}

.form-check label {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 50px;
    display: flex;
    cursor: pointer;
    position: relative;
}

.form-check-input input {
    display: none;
}

.form-check-input span {
    border: 2px solid #ed1c24;
    border-radius: 4px;
    margin-top: 4px;
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.form-check-input input:checked+span {
    background-color: #ed1c24;
}

.form-check-input input:checked+span::after {
    content: "✔";
    color: white;
    font-size: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border: 3px solid #6366f1;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

button.next {
    background: #ed1c24;
    color: #ffffff;
}

button.prev {
    background: #e5e7eb;
    color: #4b5563;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 5px;
}

.update-document {
    color: #ffffff;
}

.update-document p {
    color: #ffffff;
    /* margin-top: 50px; */
}


/* Appointment*/
.appointment-desc {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 30px;
}

.appointment-desc .appointment-desc-title {
    color: #ff4343;
    font-weight: 700;
}

.appointment-desc .appointment-desc-sub {
    font-weight: 300;
}



.submit-message {
    color: #535353;
    text-align: center;
    padding: 40px;
}

.submit-message svg {
    width: 26%;
}


.submit-message path {
    fill: none;
    stroke: #ed1c24;
    stroke-width: 30;
    stroke-miterlimit: 10;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 1700;
    animation: 1.25s success-outline forwards;
    transform-origin: 50% 50%;
}

@keyframes success-outline {
    0% {
        transform: scale(0);
        stroke-dashoffset: 1700;
        opacity: 0;
    }

    40% {
        transform: scale(.8);
    }

    80% {
        transform: scale(.625);
        stroke-dashoffset: 0;
    }

    100% {
        transform: scale(.65);
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.submit-message h2 {
    color: #535353;
}

.submit-message p {
    margin-bottom: 4px;
}


/* Footer */
footer {
    font-size: 16px;
    font-family: "Barlow", sans-serif;
    color: #aeb0b1;
    background-color: #1C1C1C;
    background-image: url(img/logo-footer-vyapay.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    padding-top: 90px;
    padding-bottom: 60px;
    margin-top: 40px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

footer img {
    width: 204px;
    margin-bottom: 30px;
}

footer a {
    color: #ed1c24;
    margin: 0 6px;
}

footer a:hover {
    color: #ed1c24;
    text-decoration: none;
}

footer .title {
    font-weight: 600;
    color: #ffffff;
}

footer .title i {
    color: #ed1c24;
}




/* Loading */
.container-loading {
    /* background: #000000;
    width: 100vw;
    height: 100vh; */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.show-load {
    background: #000000;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.show-load .form-container {
    background: #000000;
    height: 100vh;
}

.show-load .progress-bar {
    display: none;
}

.show-load .company-logo {
    display: none;
}

.show-load .step-loading {
    background: #000000;
    width: 100%;
    height: 100%;
    display: flex;
}

.show-load .container-loading {
    background: #000000;
    width: 100%;
    height: 100%;
    display: flex;
}

.dots-circle-spinner {
    color: #64b8c2;
    display: inline-block;
    height: 1em;
    width: 1em;
    line-height: 1;
    vertical-align: middle;
    border-radius: 1em;
    transition: all 150ms linear 0s;
    transform: scale(0);
    opacity: 0;
    box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em;
}

.dots-circle-spinner.loading {
    font-size: 120px;
    transform: scale(0.25);
    opacity: 1;
    -webkit-animation: 1.5s linear 150ms normal infinite forwards running dots-circle-rotation;
    animation: 1.5s linear 150ms normal infinite forwards running dots-circle-rotation;
}

@-webkit-keyframes dots-circle-rotation {
    100% {
        box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em;
    }

    87.5% {
        box-shadow: 2em 0em 0 -0.4375em, 1.41421356em 1.41421356em 0 -0.375em, 0em 2em 0 -0.3125em, -1.41421356em 1.41421356em 0 -0.25em, -2em 0em 0 -0.1875em, -1.41421356em -1.41421356em 0 -0.125em, 0em -2em 0 -0.0625em, 1.41421356em -1.41421356em 0 0em;
    }

    75% {
        box-shadow: 2em 0em 0 -0.375em, 1.41421356em 1.41421356em 0 -0.3125em, 0em 2em 0 -0.25em, -1.41421356em 1.41421356em 0 -0.1875em, -2em 0em 0 -0.125em, -1.41421356em -1.41421356em 0 -0.0625em, 0em -2em 0 0em, 1.41421356em -1.41421356em 0 -0.4375em;
    }

    62.5% {
        box-shadow: 2em 0em 0 -0.3125em, 1.41421356em 1.41421356em 0 -0.25em, 0em 2em 0 -0.1875em, -1.41421356em 1.41421356em 0 -0.125em, -2em 0em 0 -0.0625em, -1.41421356em -1.41421356em 0 0em, 0em -2em 0 -0.4375em, 1.41421356em -1.41421356em 0 -0.375em;
    }

    50% {
        box-shadow: 2em 0em 0 -0.25em, 1.41421356em 1.41421356em 0 -0.1875em, 0em 2em 0 -0.125em, -1.41421356em 1.41421356em 0 -0.0625em, -2em 0em 0 0em, -1.41421356em -1.41421356em 0 -0.4375em, 0em -2em 0 -0.375em, 1.41421356em -1.41421356em 0 -0.3125em;
    }

    37.5% {
        box-shadow: 2em 0em 0 -0.1875em, 1.41421356em 1.41421356em 0 -0.125em, 0em 2em 0 -0.0625em, -1.41421356em 1.41421356em 0 0em, -2em 0em 0 -0.4375em, -1.41421356em -1.41421356em 0 -0.375em, 0em -2em 0 -0.3125em, 1.41421356em -1.41421356em 0 -0.25em;
    }

    25% {
        box-shadow: 2em 0em 0 -0.125em, 1.41421356em 1.41421356em 0 -0.0625em, 0em 2em 0 0em, -1.41421356em 1.41421356em 0 -0.4375em, -2em 0em 0 -0.375em, -1.41421356em -1.41421356em 0 -0.3125em, 0em -2em 0 -0.25em, 1.41421356em -1.41421356em 0 -0.1875em;
    }

    12.5% {
        box-shadow: 2em 0em 0 -0.0625em, 1.41421356em 1.41421356em 0 0em, 0em 2em 0 -0.4375em, -1.41421356em 1.41421356em 0 -0.375em, -2em 0em 0 -0.3125em, -1.41421356em -1.41421356em 0 -0.25em, 0em -2em 0 -0.1875em, 1.41421356em -1.41421356em 0 -0.125em;
    }

    0% {
        box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em;
    }
}

@keyframes dots-circle-rotation {
    100% {
        box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em;
    }

    87.5% {
        box-shadow: 2em 0em 0 -0.4375em, 1.41421356em 1.41421356em 0 -0.375em, 0em 2em 0 -0.3125em, -1.41421356em 1.41421356em 0 -0.25em, -2em 0em 0 -0.1875em, -1.41421356em -1.41421356em 0 -0.125em, 0em -2em 0 -0.0625em, 1.41421356em -1.41421356em 0 0em;
    }

    75% {
        box-shadow: 2em 0em 0 -0.375em, 1.41421356em 1.41421356em 0 -0.3125em, 0em 2em 0 -0.25em, -1.41421356em 1.41421356em 0 -0.1875em, -2em 0em 0 -0.125em, -1.41421356em -1.41421356em 0 -0.0625em, 0em -2em 0 0em, 1.41421356em -1.41421356em 0 -0.4375em;
    }

    62.5% {
        box-shadow: 2em 0em 0 -0.3125em, 1.41421356em 1.41421356em 0 -0.25em, 0em 2em 0 -0.1875em, -1.41421356em 1.41421356em 0 -0.125em, -2em 0em 0 -0.0625em, -1.41421356em -1.41421356em 0 0em, 0em -2em 0 -0.4375em, 1.41421356em -1.41421356em 0 -0.375em;
    }

    50% {
        box-shadow: 2em 0em 0 -0.25em, 1.41421356em 1.41421356em 0 -0.1875em, 0em 2em 0 -0.125em, -1.41421356em 1.41421356em 0 -0.0625em, -2em 0em 0 0em, -1.41421356em -1.41421356em 0 -0.4375em, 0em -2em 0 -0.375em, 1.41421356em -1.41421356em 0 -0.3125em;
    }

    37.5% {
        box-shadow: 2em 0em 0 -0.1875em, 1.41421356em 1.41421356em 0 -0.125em, 0em 2em 0 -0.0625em, -1.41421356em 1.41421356em 0 0em, -2em 0em 0 -0.4375em, -1.41421356em -1.41421356em 0 -0.375em, 0em -2em 0 -0.3125em, 1.41421356em -1.41421356em 0 -0.25em;
    }

    25% {
        box-shadow: 2em 0em 0 -0.125em, 1.41421356em 1.41421356em 0 -0.0625em, 0em 2em 0 0em, -1.41421356em 1.41421356em 0 -0.4375em, -2em 0em 0 -0.375em, -1.41421356em -1.41421356em 0 -0.3125em, 0em -2em 0 -0.25em, 1.41421356em -1.41421356em 0 -0.1875em;
    }

    12.5% {
        box-shadow: 2em 0em 0 -0.0625em, 1.41421356em 1.41421356em 0 0em, 0em 2em 0 -0.4375em, -1.41421356em 1.41421356em 0 -0.375em, -2em 0em 0 -0.3125em, -1.41421356em -1.41421356em 0 -0.25em, 0em -2em 0 -0.1875em, 1.41421356em -1.41421356em 0 -0.125em;
    }

    0% {
        box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em;
    }
}

