/*survey*/
.post-design {
    /*background-color: #dbd5d5;*/
    /*height: 100vh;*/
    font-family: 'Montserrat', sans-serif;
}

.post-design * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}


.post-design section {
    width: 100%;
}

.post-design ::placeholder {
    color: #000;
    opacity: 1;
}

.post-design :-ms-input-placeholder {
    color: #000;
}

.post-design ::-ms-input-placeholder {
    color: #000;
}

.post-design div.container {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.post-design h1 {
    color: #000;
}

.post-design .post-questions-con {
    display: none;
    letter-spacing: 4px;
    padding-top: 30px;
    text-align: center;
    min-height: 250px;
}

.post-design .post-questions-con.is-visible {
    display: block;
}

.post-design label.label-heading p {
    font-size: 14px;
    color: #000;
}

.post-design .post-questions-con .label-text {
    color: #000;
    cursor: text;
    font-size: 15px;
    line-height: 20px;
    text-transform: uppercase;
    transform: translateY(-34px);
    transition: all 0.3s;
}

.post-design .post-questions-con input[type="text"] {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #000;
    color: #000;
    font-size: 20px;
    letter-spacing: 1px;
    outline: 0;
    padding: 5px 20px;
    text-align: center;
    transition: all 0.3s;
    width: 400px;
}

.post-design .post-questions-con input[type="text"]:focus {
    max-width: 100%;
    width: 500px;
}

.post-design .post-questions-con input[type="text"]:focus+.label-text {
    color: #000;
    font-size: 13px;
    margin-top: 10px;
    transform: translateY(-74px);
}

.post-design .post-questions-con input[type="text"]:valid+.label-text {
    font-size: 13px;
    transform: translateY(-74px);
}

.post-design .post-questions-con textarea {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #000;
    color: #000;
    font-size: 20px;
    letter-spacing: 1px;
    outline: 0;
    padding: 5px 20px;
    text-align: center;
    transition: all 0.3s;
    width: 400px;
}

.post-design .post-questions-con textarea:focus {
    max-width: 100%;
    width: 500px;
}

.post-design .post-questions-con textarea:focus+.label-text {
    color: #000;
    font-size: 13px;
    margin-top: 10px;
    transform: translateY(-74px);
}

.post-design .post-questions-con textarea:valid+.label-text {
    font-size: 13px;
    transform: translateY(-74px);
}

.post-design input:-internal-autofill-selected,
.post-design textarea:-internal-autofill-selected {
    background-color: transparent;
}

.post-design button {
    /*background: transparent;*/
    /*color: #000;*/
    /*border: 2px solid #000;*/
    /*font-size: 15px;*/
    /*letter-spacing: 2px;*/
    /*padding: 20px 75px;*/
    /*text-transform: uppercase;*/
    cursor: pointer;
    /*display: inline-block;*/
    /*margin: 15px 30px;*/
    transition: all 0.4s;
}


.post-design #validate {
    color: #333333;
    font-weight: 700;
}


.post-design label.label-heading {
    display: block;
    padding: 5px 20px;
    font-size: 20px;
    /*margin: 3%;*/
    color: #000;
    text-align: center;
}

.vi-bg {
    background: url(https://vintanainvestments.com/img/vintanalogo.png?v=1) no-repeat center bottom !important;
    background-size: cover;
    position: relative;
}

.vi-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    /* Adjust 0.5 to change opacity */
    pointer-events: none;
    border-radius: 15px
}

.text-justify {
    text-align: justify;
}

.background-1 {
    background: #282537;
    background-image: -webkit-radial-gradient(top, circle cover, #3c3b52 0%, #252233 80%);
    background-image: -moz-radial-gradient(top, circle cover, #3c3b52 0%, #252233 80%);
    background-image: -o-radial-gradient(top, circle cover, #3c3b52 0%, #252233 80%);
    background-image: radial-gradient(top, circle cover, #3c3b52 0%, #252233 80%);
}

.background-2 {
    background: #092756;
    background: -moz-radial-gradient(0% 100%, ellipse cover, rgba(104, 128, 138, .4) 10%, rgba(138, 114, 76, 0) 40%), -moz-linear-gradient(top, rgba(57, 173, 219, .25) 0%, rgba(42, 60, 87, .4) 100%), -moz-linear-gradient(-45deg, #670d10 0%, #092756 100%);
    background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104, 128, 138, .4) 10%, rgba(138, 114, 76, 0) 40%), -webkit-linear-gradient(top, rgba(57, 173, 219, .25) 0%, rgba(42, 60, 87, .4) 100%), -webkit-linear-gradient(-45deg, #670d10 0%, #092756 100%);
    background: -o-radial-gradient(0% 100%, ellipse cover, rgba(104, 128, 138, .4) 10%, rgba(138, 114, 76, 0) 40%), -o-linear-gradient(top, rgba(57, 173, 219, .25) 0%, rgba(42, 60, 87, .4) 100%), -o-linear-gradient(-45deg, #670d10 0%, #092756 100%);
    background: -ms-radial-gradient(0% 100%, ellipse cover, rgba(104, 128, 138, .4) 10%, rgba(138, 114, 76, 0) 40%), -ms-linear-gradient(top, rgba(57, 173, 219, .25) 0%, rgba(42, 60, 87, .4) 100%), -ms-linear-gradient(-45deg, #670d10 0%, #092756 100%);
    background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104, 128, 138, .4) 10%, rgba(138, 114, 76, 0) 40%), linear-gradient(to bottom, rgba(57, 173, 219, .25) 0%, rgba(42, 60, 87, .4) 100%), linear-gradient(135deg, #670d10 0%, #092756 100%);
}

.background-3 {

    background-image: linear-gradient(#8b9da9, #fff6e4);
    box-shadow: inset 0 0 100px hsla(0, 0%, 0%, .3);
}

.background-4 {
    background: rgb(105, 155, 200);
    background: -moz-radial-gradient(top left, ellipse cover, rgba(105, 155, 200, 1) 0%, rgba(181, 197, 216, 1) 57%);
    background: -webkit-gradient(radial, top left, 0px, top left, 100%, color-stop(0%, rgba(105, 155, 200, 1)), color-stop(57%, rgba(181, 197, 216, 1)));
    background: -webkit-radial-gradient(top left, ellipse cover, rgba(105, 155, 200, 1) 0%, rgba(181, 197, 216, 1) 57%);
    background: -o-radial-gradient(top left, ellipse cover, rgba(105, 155, 200, 1) 0%, rgba(181, 197, 216, 1) 57%);
    background: -ms-radial-gradient(top left, ellipse cover, rgba(105, 155, 200, 1) 0%, rgba(181, 197, 216, 1) 57%);
    background: radial-gradient(ellipse at top left, rgba(105, 155, 200, 1) 0%, rgba(181, 197, 216, 1) 57%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#699bc8', endColorstr='#b5c5d8', GradientType=1);
}

.background-5 {
    background-image: linear-gradient(45deg, rgba(194, 233, 221, 0.5) 1%, rgba(104, 119, 132, 0.5) 100%), linear-gradient(-45deg, #494d71 0%, rgba(217, 230, 185, 0.5) 80%);

}

.background-6 {
    background: rgb(244, 226, 156);
    background: -moz-linear-gradient(-45deg, rgba(244, 226, 156, 0) 0%, rgba(59, 41, 58, 1) 100%), -moz-linear-gradient(left, rgba(244, 226, 156, 1) 0%, rgba(130, 96, 87, 1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(244, 226, 156, 0) 0%, rgba(59, 41, 58, 1) 100%), -webkit-linear-gradient(left, rgba(244, 226, 156, 1) 0%, rgba(130, 96, 87, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(244, 226, 156, 0) 0%, rgba(59, 41, 58, 1) 100%), -o-linear-gradient(left, rgba(244, 226, 156, 1) 0%, rgba(130, 96, 87, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(244, 226, 156, 0) 0%, rgba(59, 41, 58, 1) 100%), -ms-linear-gradient(left, rgba(244, 226, 156, 1) 0%, rgba(130, 96, 87, 1) 100%);
    background: linear-gradient(135deg, rgba(244, 226, 156, 0) 0%, rgba(59, 41, 58, 1) 100%), linear-gradient(to right, rgba(244, 226, 156, 1) 0%, rgba(130, 96, 87, 1) 100%);

}


@media (max-width: 640px) {
    .text-justify {
        text-align: start;
    }

    .vi-bg {
        background: none !important;
    }

    * {
        /*font-size: calc(1% + 1vw + 1vh) !important;*/

    }

    .post-design .container {
        min-height: 300px !important;
    }

    /*.nav-con {*/
    /*    position: absolute;*/
    /*    top: -90px;*/
    /*    width: 100%;*/
    /*}*/
    .post-design .post-questions-con {
        min-height: 200px !important;
    }

    .post-design .post-questions-con input[type="text"] {
        width: 200px !important;
    }

    .post-design .post-questions-con input[type="text"]:focus {
        width: 250px !important;
    }
}


/*survey*/


/*nav*/
.navnav {
    display: inline-block;
}

.navnav li {
    float: left;
}

/*select 2*/

.select2-container--bootstrap-5 {
    display: inline-block !important;
    min-width: 200px;
}



/*rating*/
/* Basic styling for the container */
.rating-container {
    display: inline-block;
    /* Allows container to size to content */
    font-size: 0;
    /* Remove space between inline-block elements */
    direction: rtl;
    /* Right-to-left direction for hover effect */
}

.rating-container input {
    display: none !important;
    /* Hide the actual radio buttons */
}

.rating-container label {
    font-size: 30px;
    /* Size of the stars */
    color: #ccc;
    /* Default star color (grey) */
    cursor: pointer;
    padding: 0 5px;
    /* Space between stars */
    transition: color 0.2s ease-in-out;
    /* Smooth color transition */
    display: inline-block;
    /* Treat labels as blocks for padding/margin */
}

/* Style for hovered stars and stars to their left */
.rating-container label:hover,
.rating-container label:hover~label {
    color: #ffcc00;
    /* Hover color (yellow/gold) */
}

/* Style for checked radio button's label and labels to its left */
.rating-container input:checked~label {
    color: #ffcc00;
    /* Selected color (yellow/gold) */
}

/* Optional: Add a slight scale transform on hover for visual feedback */
.rating-container label:hover {
    transform: scale(1.1);
}

/*LOAN CARDS*/
.loan-labels {
    vertical-align: top;
    width: 210px;
    height: 190px;
    cursor: pointer;
}

.loan-labels:hover {
    border: 1px solid #1aa61a !important;
    transform: scale(1.02);
    filter: grayscale(30%);
}

.loan-labels .icon {
    background: #2cdd9b;
    background: linear-gradient(to right, #2cdd9b 0%, #58d098 100%);
    position: absolute;
    height: 35px;
    border-radius: 25px;
    top: -20px;
    width: 180px;
    color: black;
    text-align: center;
    overflow: hidden;
    font-size: 13px;
    line-height: 20px;
    padding: 6px;
    text-shadow: 1px 1px 1px #003d38;
}

.loan-labels .body {
    /*font-size: 10px !important;*/
}

input[type="radio"]:checked+.loan-labels {
    border: 1px solid #1aa61a !important;
    transform: scale(1.02);
    filter: grayscale(30%);
}


/*zoom hover*/
.zoomd {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

div:has(> .zoomd) {
    position: relative;
}

div:has(> .zoomd)::after {
    content: 'click to zoom';
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    color: white;
    display: block;
    text-align: center;
}

.zoomd:hover {
    z-index: 1;
    position: relative;
    -ms-transform: scale(1.02);
    /* IE 9 */
    -webkit-transform: scale(1.02);
    /* Safari 3-8 */
    transform: scale(1.02);
    cursor: zoom-in;
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Dark semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    /* Ensure it's on top */
    visibility: hidden;
    /* Hidden by default */
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.fullscreen-overlay.active {
    visibility: visible;
    opacity: 1;
}

.fullscreen-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    /* In case content is larger than viewport */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    /* For positioning close button */
}

.fullscreen-overlay .close-button {
    height: 50px;
    width: 80px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #fafafa;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    background: black;
    border-radius: 25px;

}

.fullscreen-overlay .close-button:hover {
    color: #9d9d9d;
}

/* flash texxt black white */
.flash-text-bw {
    animation: flash 1s infinite;
}

@keyframes flash {

    0%,
    100% {
        color: black;
    }

    50% {
        color: white;
    }
}

/* sweetalert */
.swal2-validation-message {
    display: block !important;
    white-space: pre-line;
    margin: 10px 35px;
    background: none;
}

div:where(.swal2-container) div:where(.swal2-validation-message)::before {
    display: none !important;
}

/* 3rd modal */
.swal-style-dialog {
    margin: auto;
    border: none;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    font-family: sans-serif;
    text-align: center;
    overflow-x: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    display: none;
    z-index: 4000;
}

.swal-style-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    /* Makes the Swal behind it look out of focus */
}

.swal-style-close-btn {
    margin-top: 20px;
    background: #7066e0;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}


/*for printing*/
@media print {
    .swal2-container {
        display: none !important;
    }

    .swal2-close {
        display: none !important;
    }

    .missingschedule:before {
        content: 'NO LOAN SCHEDULE ADDED';
        position: fixed;
        inset: 0;
        font-size: 70px;
        font-weight: bold;
        display: grid;
        justify-content: center;
        align-content: center;
        opacity: 0.1;
        transform: rotate(-45deg);
    }
}