@font-face {
    font-family: "Inter";
    src: url("/font/Inter/Inter_18pt-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Inter-Medium";
    src: url("/font/Inter/Inter_18pt-Medium.ttf") format("truetype");
}
@font-face {
    font-family: "Inter-SemiBold";
    src: url("/font/Inter/Inter_18pt-SemiBold.ttf") format("truetype");
}
@font-face {
    font-family: "Inter-Bold";
    src: url("/font/Inter/Inter_18pt-Bold.ttf") format("truetype");
}

body {
    background: url('/images/exsim_background.jpg');
    background-size: cover;
    background-position-x: center;
    background-repeat: no-repeat;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter-Bold" !important;
}
span, label, small, p, a, li, div {
    font-family: "Inter" !important;
}
.swal2-title {
    font-family: "Inter-SemiBold" !important;
}

input,
select,
textarea,
input:focus,
select:focus,
textarea:focus
input:active,
select:active,
textarea:active,
.form-control:focus,
.form-select:focus,
.form-textarea:focus
.select2-container--default
.select2-selection--single:focus {
    outline: none !important;
    box-shadow: none !important;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.navbar {
    background: white !important;
}

.card-soft {
    background: white;
    border-radius: 20px; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    padding: 50px;
}

.card-survey {
    max-width: 800px;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-right: 0;
}

.survey-scroll {
    overflow-x: auto; 
    padding-bottom: 1rem; 
    min-width: 500px;
    padding-right: 40px;
}

.btn-primary {
    border-radius: 12px;
    padding: 12px 30px;
    transition: 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.form-select,
.form-control {
    border-radius: 10px;
}

.star-rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.star-label {
    font-size: 0.75rem;
}

.star-rate {
    font-size: 0.75rem;
}

.star-rating {
    direction: rtl;
    display: flex;
    gap: 8px;
    font-size: 4rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ddd;
    cursor: pointer;
    transition: 0.2s ease;
}

.star-rating input:checked + div label,
.star-rating input:checked + div ~ input + div label {
    color: #ffb400;
}

.star-rating div:hover label,
.star-rating div:hover ~ div label {
    color: #ffb400;
}

.star-numbers {
    display: flex;
    justify-content: space-between;
    width: 150px;
    margin-top: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #555;
}

.modal-content {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

.modal-header,
.modal-footer {
    border: none !important;
    box-shadow: none !important;
}

.modal-header .btn-close {
    box-shadow: none !important;
}

.modal-footer .btn {
    min-width: 120px !important;
    padding: 12px 30px !important;
    border-radius: 12px !important;
}

.superior-select {
    width: 50% !important;
}

.thankyou-card {
    max-width: 500px;  
    width: 90%;       
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    text-align: center;
}

.superior-select:disabled {
    pointer-events: auto;
    opacity: 1;
}

.no-scroll {
    overflow: hidden;
}

.question{
    width: 5%;;
}

/*** Mobile View ***/
@media (max-width: 768px) {
    .star-rating {
        font-size: 3rem;
        gap: 0;
    }

    .star-label {
        font-size: 0.7rem;
    }

    .star-rate {
        font-size: 0.75rem;
    }

    .superior-select {
        width: 100% !important;
    }

    .survey-scroll {
        padding-right: 0;
        min-width: unset !important;
    }

    .card-soft {
        background: white;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
        padding: 20px;
    }

}

@media (max-width: 576px) {
    .thankyou-card {
        width: 95%;
        padding: 30px;
    }
}

@media (max-width: 576px) {
    
}

@media (max-width: 576px) {
    .question{
        width: 8%;;
    }
}