﻿@font-face {
    font-family: Montserrat-Regular;
    src: url('../fonts/montserrat/Montserrat-Regular.ttf');
}

@font-face {
    font-family: Montserrat-Medium;
    src: url('../fonts/montserrat/Montserrat-Medium.ttf');
}

@font-face {
    font-family: Montserrat-Bold;
    src: url('../fonts/montserrat/Montserrat-Bold.ttf');
}

@font-face {
    font-family: Montserrat-Italic;
    src: url('../fonts/montserrat/Montserrat-Italic.ttf');
}

@font-face {
    font-family: Montserrat-Black;
    src: url('../fonts/montserrat/Montserrat-Black.ttf');
}

@font-face {
    font-family: Linearicons;
    src: url('../fonts/Linearicons-Free-v1.0.0/WebFont/Linearicons-Free.ttf');
}

@font-face {
    font-family: Poppins-Bold;
    src: url('../fonts/poppins/Poppins-Bold.ttf');
}

@font-face {
    font-family: Poppins-Black;
    src: url('../fonts/poppins/Poppins-Black.ttf');
}

* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

.input-with-span {
    width: 50%;
}

.input-with-span input,
.input-with-span select {
    width: 100% !important;
    position: relative;
    z-index: 1;
    font-size: 12px !important;
}

/* Input Row Styling */
.input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
    /* Adjust spacing */
}

/* Line Between Label and Input */
.input-row::before {
    content: "";
    position: absolute;
    width: 100%;
    /* Ensures full width */
    top: 50%;
    /* Places the line in the middle */
    transform: translateY(-50%);
    height: 1px;
    background-color: #ddd;
}

/* Keep labels and inputs on top of the line */
.input-row label {
    background-color: transparent;
    position: relative;
    z-index: 1;
    margin: 0px !important;
}

@media (min-width: 551px) {
    .input-row label {
        background-color: #DEF2F2;
        padding-right: 10px;
    }
}

.input-row .form-control,
.input-row input {
    position: relative;
    z-index: 1;
    width: 50% !important;
}

.input-row .input-with-span input,
.input-row .input-with-span select {
    width: 100% !important;
    position: relative;
    z-index: 1;
    font-size: 12px !important;
}


#msform {
    text-align: center;
    position: relative;
    margin-top: 20px
}

.form-card {
    border: 0 none;
    border-radius: 0px;
    /*box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);*/
    padding: 20px 40px 30px 40px;
    box-sizing: border-box;
    border-radius: 28px;
    /*background: linear-gradient(182deg, #FFF -12.96%, rgba(109, 141, 173, 0.25) 99.21%);*/
    background: #DEF2F2;
    width: 85%;
    margin: 0 3% 20px 3%;
    position: relative;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

#msform fieldset:not(:first-of-type) {
    display: none
}

#msform fieldset .form-card {
    text-align: left;
    color: #9E9E9E
}

.form-card input,
.form-card textarea,
.form-card select,
.form-card .form-card {
    /*margin-bottom: 15px;*/
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: Montserrat;
    color: #2C3E50;
    letter-spacing: 1px;
    border: 1px solid #62C0BF;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 12px;
    background: #fff;
}

.form-card input[type="file"]::file-selector-button {
    border-radius: 25px;
    border: 1px solid #62C0BF;
    padding: 5px 15px;
    margin-right: 15px;
    background-color: #f8f9fa;
    color: #3C5873;
    cursor: pointer;
    font-family: Montserrat;
}

.form-card input[type="file"]::-webkit-file-upload-button {
    border-radius: 25px;
    border: 1px solid #62C0BF;
    padding: 5px 15px;
    margin-right: 15px;
    background-color: #f8f9fa;
    color: #3C5873;
    cursor: pointer;
    font-family: Montserrat;
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 2px solid lightgrey !important;
    font-weight: bold;
    outline-width: 0
}

.action-button {
    width: fit-content;
    cursor: pointer;
    margin: 10px 5px;
    background-color: #3C5873;
    color: #62C0BF;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    border-radius: 25px;
    border: 1px solid #60BEBE;
    padding: 10px 50px;
}

.action-button:hover,
.action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue
}

#msform .action-button-previous {
    width: fit-content;
    cursor: pointer;
    margin: 10px 5px;
    color: #62C0BF;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 50px;
    border-radius: 25px;
    border: 1px solid #60BEBE;
    background: #FFF;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #616161
}

select.list-dt {
    border: none;
    outline: 0;
    border-bottom: 1px solid #ccc;
    padding: 2px 5px 3px 5px;
    margin: 2px
}

select.list-dt:focus {
    border-bottom: 2px solid skyblue
}

.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative
}

.fs-title {
    font-size: 25px;
    color: #3C5873;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: #3C5873;
    font-family: 'Montserrat', sans-serif;
    width: 85%;
}

#progressbar .active {
    color: #3C5873;
}

#progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 33%;
    float: left;
    position: relative
}

#progressbar #account:before {
    font-family: FontAwesome;
    content: "\f023"
}

#progressbar #personal:before {
    font-family: FontAwesome;
    content: "\f007"
}

#progressbar #payment:before {
    font-family: FontAwesome;
    content: "\f09d"
}

#progressbar #confirm:before {
    font-family: FontAwesome;
    content: "\f00c"
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 18px;
    color: #3C5873;
    background: #D9D9D9;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
    font-family: 'Montserrat', sans-serif;
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #D9D9D9;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #52B8B6;
    color: #fff;
}

.text-darkblue {
    color: #3C5873 !important;
}

.montserrat {
    font-family: Montserrat !important;
}

.swal-footer {
    margin-top: 0;
    text-align: center;
}

.certificate-item {
    border: 1px solid #62C0BF;
    margin: 10px 0px;
    background: #fff;
    border-radius: 28px;
    padding: 30px 15px 15px 15px;
    position: relative;
}

.btn-blue {
    padding: 6px 20px !important;
}

p {
    font-family: Montserrat;
    font-size: 12px !important;
    margin: 0px 0px 10px 0px !important;
}

#signature-pad {
    width: 100% !important;
    height: 200px !important;
    cursor: crosshair;
    border-radius: 10px;
    background-color: #fff !important;
    border: 1px solid #1AB2B6 !important;
}

.save-btn {
    font-size: 12px !important;
    padding: 5px 20px !important;
}

.input-label-check .form-label {
    display: flex;
    align-items: center;
    gap: 7px;
}

.input-label-check input {
    margin-bottom: 2px !important;
    margin-top: 0px !important;

}

.radio-group {
    position: relative;
    margin-bottom: 25px
}

.radio {
    display: inline-block;
    width: 204px;
    height: 104px;
    border-radius: 0;
    background: lightblue;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
    margin: 8px 2px
}

.radio:hover {
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3)
}

.radio.selected {
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1)
}

.fit-image {
    width: 100%;
    object-fit: cover
}

#signature {
    width: 50%;
}

#signature-pad {
    width: 100%;
    height: 220px;
    border: 1px solid #888;
    border-radius: 25px !important;
    background: white;
}


@media(max-width: 550px) {
    .input-row {
        align-items: start;
        flex-direction: column;
    }

    .input-row .form-control {
        width: 100% !important;
    }

    .input-row::before {
        width: 0% !important;
        /* Ensures full width */
        height: 0px;
    }

    #progressbar {
        width: 100%;
        padding-left: 0px;
    }

    #msform fieldset .form-card {
        width: 100%;
    }
}