@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

* {
    padding: 0;
    margin: 0;
}

.container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .card {
    height: 100%;
    width: 90%;
    background-color: #fff;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    border-radius: 20px;
}

.container .card .form {
    width: 100%;
    height: 100%;

    display: flex;
}

.container .card .left-side {
    width: 35%;
    max-width: 250px;
    background-color: #0A2F52;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 20px 30px;
    box-sizing: border-box;

}

/*left-side-start*/
.left-heading {
    color: #fff;
    font-size: 20px;
}

.steps-content {
    margin-top: 30px;
    color: #fff;
}

.steps-content p {
    font-size: 12px;
    margin-top: 15px;
}

.progress-bar {
    list-style: none;
    /*color:#fff;*/
    margin-top: 30px;
    font-size: 13px;
    font-weight: 700;
    counter-reset: container 0;
}

.progress-bar li {
    position: relative;
    margin-left: 40px;
    margin-top: 50px;
    counter-increment: container 1;
    color: #35577A;
}

.progress-bar li::before {
    content: counter(container);
    line-height: 25px;
    text-align: center;
    position: absolute;
    height: 25px;
    width: 25px;
    border: 1px solid #35577A;
    border-radius: 50%;
    left: -40px;
    top: -5px;
    z-index: 10;
    background-color: #0A2F52;
}


.progress-bar li::after {
    content: '';
    position: absolute;
    height: 90px;
    width: 2px;
    background-color: #35577A;
    z-index: 1;
    left: -27px;
    top: -70px;
}


.progress-bar li.active::after {
    background-color: #fff;

}

.progress-bar li:first-child:after {
    display: none;
}

/*.progress-bar li:last-child:after{*/
/*  display:none;  */
/*}*/
.progress-bar li.active::before {
    color: #fff;
    border: 1px solid #fff;
}

.progress-bar li.active {
    color: #fff;
}

.d-none {
    display: none;
}

/*left-side-end*/
.container .card .right-side {
    width: 65%;
    background-color: #fff;
    height: 100%;
    border-radius: 20px;
}

/*right-side-start*/
.main {
    display: none;
    padding: 40px;
}

.active {
    display: block;
}

/*Center*/
.container .card .center {
    width: 100%;
    background-color: #fff;
    height: 100%;
    border-radius: 20px;
}

.receipt-details,
.applicant-info,
.school-details,
.payment-details {
    margin-bottom: 20px;
}

.applicant-photo {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border: 2px solid #ccc;
    margin: 35px;
    float: right;
}

.application-preview h3 {
    background: #f1f1f1;
    padding: 8px;
    border-left: 4px solid #1479C2;
    font-size: 15px;
    margin-top: 0;
}

.application-preview p {
    margin-top: 10px;
    font-size: 15px;
}

.application-preview table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.application-preview table td,
.application-preview table th {
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 15px;
}

.application-preview table th {
    background: #f5f5f5;
    text-align: left;
}

.application-preview .paid-stamp {
    float: right; 
    margin: 23px 50% 0px 0px; 
    width: 80px;
}

.main small {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
    height: 30px;
    width: 30px;
    background-color: #ccc;
    border-radius: 50%;
    color: yellow;
    font-size: 19px;
}

.text {
    margin-top: 20px;
}

.congrats {
    text-align: center;
}

.text p {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #cbced4;
}

.text p.profile {
    font-weight: bold;
    color: #12588A;
}

.input-text {
    margin: 30px 0;
    display: flex;
    gap: 20px;
}

.input-text .input-div {
    width: 100%;
    position: relative;

}

input[type="text"], input[type="date"] {
    width: 100%;
    height: 40px;
    border: none;
    outline: 0;
    border-radius: 5px;
    border: 1px solid #cbced4;
    gap: 20px;
    box-sizing: border-box;
    padding: 0px 10px;
}

select {
    width: 100%;
    height: 40px;
    border: none;
    outline: 0;
    border-radius: 5px;
    border: 1px solid #cbced4;
    gap: 20px;
    box-sizing: border-box;
    padding: 0px 10px;
}

.input-text .input-div span {
    position: absolute;
    top: -15px;
    left: 6px;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.5s;
}

/* .input-div input:focus~span,
.input-div input:valid~span {
    top: -15px;
    left: 6px;
    font-size: 10px;
    font-weight: 600;
} */

.input-div span {
    top: -15px;
    left: 6px;
    font-size: 10px;
}

.buttons {
    float: right;
    margin-bottom: 50px;
}

button {
    height: 40px;
    width: 100px;
    border: none;
    border-radius: 5px;
    /* background-color: #0075ff; */
    font-size: 12px;
    color: #fff;
    cursor: pointer;
}

.next_button, .submit_button {
    background-image: linear-gradient(105.3deg, rgba(10, 47, 82, 1) 21.8%, rgba(20, 121, 194, 1) 100.2%);
    transition: 0.5s;
    background-size: 200% auto;
}

.button_space {
    display: flex;
    gap: 20px;

}

.button_space button:nth-child(1) {
    background-color: #fff;
    background-image: none;
    color: #000;
    border: 1px solid#000;
}

.user_card {
    margin-top: 20px;
    margin-bottom: 40px;
    height: 250px;
    width: 100%;
    border: 1px solid #c7d3d9;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.user_card span {
    height: 80px;
    width: 100%;
    background-color: #dfeeff;
}

.passport-photo {
    position: absolute;
    top: 40px;
    left: 60px;
}

.passport-photo span {
    width: 100px;
    height: 120px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
}

.passport-photo span img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border: 2px solid #ccc;
    width: 100%;
    height: 100%;
}

.user_details {
    position: absolute;
    top: 110px;
    margin: 50px 0 0 30px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    width: 100%;

}

.user_details input[type="file"] {
    margin-top: 0px;
}

.detail {
    /*margin-top:10px;*/
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-right: 50px;
}

.detail .custom-photo-upload {
    margin-top: 0px;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
}


.warning {
    border: 1px solid red !important;
}


/*right-side-end*/
@media (max-width:750px) {
    .container {
        height: scroll;


    }

    .container .card {
        max-width: 400px;
        height: auto !important;
        margin: 30px 0;
    }

    .container .card .right-side {
        width: 100%;

    }

    .input-text {
        display: block;
    }

    .input-text .input-div {
        margin-top: 20px;

    }

    .container .card .left-side {

        display: none;
    }

    .user_card {
        height: 350px;
    }

    .applicant-photo {
        margin: 35px 10px;
    }

    .detail {
        margin-top:10px;
        flex-direction: column;
    }
    
    .detail .custom-photo-upload {
        margin-top: 40px;
    }

    .application-preview .paid-stamp {
        float: right; 
        margin: 23px 0px 0px 0px; 
        width: 80px;
    }
}