:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

.survey-container {
    max-width: 1200px;
}

.logo {
    width: 182px;
    height: 109px;
    margin-bottom: 20px;
    display: block;
}

.survey-header {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.participant-details {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    gap: 10px;
}

    .info-grid .row {
        padding: 8px 0;
        border-bottom: 1px solid #dee2e6;
    }

.question-group {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    .question-group label {
        display: block;
        margin-bottom: 10px;
        font-weight: 500;
    }

.btn-group {
    width: 100%;
    gap: 10px;
}

.btn-check + .btn-outline-primary {
    flex: 1;
    white-space: normal;
    text-align: center;
    padding: 10px;
}

.btn-check:checked + .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

@media (max-width: 992px) {
    .btn-group {
        flex-direction: column;
    }

    .btn-check + .btn-outline-primary {
        width: 100%;
        margin: 5px 0;
    }
}

.thank-you {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    background-color: var(--success-color);
    color: white;
    border-radius: 5px;
}

.your-answers {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 5px;
}

.validation-message {
    color: var(--danger-color);
    font-size: 14px;
    margin-top: 5px;
}

body {
    font-family: Arial, sans-serif;
}


.heading {
    color: #0000EE;
    font-weight: bold;
    font-size: 18px;
}

.input-container {
    margin-top: 15px;
}

button {
    padding: 5px 10px;
    cursor: pointer;
}

.info-box {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 15px;
}


.survey-results {
    margin-top: 20px;
    width: 100%;
}

.answers-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    font-size: 12px;
}

    .answers-table th {
        padding: 5px;
        text-align: center;
        vertical-align: top;
        font-size: 10px;
    }

    .answers-table td {
        text-align: center;
        padding: 5px;
    }

.key-table {
    border: 1px solid #808080;
    margin-top: 20px;
    font-size: 12px;
}

    .key-table td {
        padding: 5px;
        text-align: center;
    }

.icon-image {
    height: 54px;
}

.site-nav .nav-item:hover {
    color: #f15d43 !important;
}

.site-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-weight: 700;
    margin-right: 30px;
}

#welcomeMessage {
    font-size: 26px;
    line-height: 56px;
    font-weight: 800;
    color: #032F74;
}

.welcome-img {
    margin-bottom: 25px !important;
}

.custom-button, .btn-primary {
    background-color: #032F74;
    padding: 10px 30px;
}

.btn {
    padding: 10px 30px;
}

.custom-button:hover, .btn-primary:hover {
    background-color: #F05D45;
    border-color: #F05D45;
}

.custom-button:active, .btn-primary:active {
    background-color: #032F74;
    border-color: #032F74;
}

.custom-button:focus, .btn-primary:focus {
    background-color: #032F74;
    border-color: #032F74;
    box-shadow: none;
}

.text-orange {
    color: #F05D45 !important;
}

.custom-card {
    box-shadow: 0px 0px 7px 4px rgba(0, 0, 0, .03);
    border-radius: .75rem;
    border-color: #dbdfe9;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group > label {
        margin-bottom: 10px;
    }

.form-input, .form-control {
    display: block;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    font-weight: 500;
    background-color: #fcfcfc;
    border-radius: .375rem;
    height: 2.8rem;
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
    border: 1px solid #dbdfe9;
    color: #4b5675;
}

    .form-input:active, .input:has(input:active), .form-control:active {
        box-shadow: none;
    }

    .form-input:active, .input:has(input:active), .form-control:active {
        color: #4b5675;
    }

    .form-input:focus, .input:has(input:focus), .form-control:focus {
        border-color: #1b84ff;
        box-shadow: none !important;
        color: #4b5675;
    }

.input-group-text {
    border-top-left-radius: .25rem;
    border-top-right-radius: 0;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: 0;
}

.w-200px {
    width: 200px !important;
}

#nextBtn, #prevBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#prevTab > svg {
    transform: rotate(-180deg);
}

.alert.alert-warning {
    border: 1px solid #F6C000;
    border-radius: 0.475rem !important;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4bf;
    position: fixed;
    inset: 0;
    z-index: 999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #3498db;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.tab-content-wrapper {
    position: relative;
    overflow: hidden;
    /*margin-bottom: 20px;*/
}

.tab-content {
    position: relative;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
}

.tab-pane {
    width: 100%;
    padding: 20px;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    display: none;
}

    .tab-pane.active {
        opacity: 1;
        position: relative;
        left: 0;
        display: block;
    }

    .tab-pane.slide-in-from-left {
        animation: slideInFromLeft 0.5s forwards;
        display: block;
    }

    .tab-pane.slide-in-from-right {
        animation: slideInFromRight 0.5s forwards;
        display: block;
    }

    .tab-pane.slide-out-to-left {
        animation: slideOutToLeft 0.5s forwards;
        display: block;
    }

    .tab-pane.slide-out-to-right {
        animation: slideOutToRight 0.5s forwards;
        display: block;
    }

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideOutToLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    /*margin-top: 20px;*/
}

/* Progress Bar Styles */
.progress-container {
    /*margin-bottom: 20px;*/
}

.progress {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background-color: #0d6efd;
    height: 100%;
    transition: width 0.5s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}









@media (min-width:992px) {
    .card.custom-card .card-body {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .welcome-img {
        height: 190px;
    }

    /*input[type="text"] {
        padding: 5px;
        /*width: 60%;*/
    }
 

@media (max-width:992px) and (min-width:768px) {
    #welcomeMessage {
        font-size: 40px !important;
        line-height: 47px !important;
    }
}



@media (min-width:768px) {
    .site-nav {
        height: 78px;
    }
}

@media (max-width:768px) {
    #welcomeMessage {
        font-size: 38px !important;
        line-height: 45px !important;
        text-align: center !important;
        margin-top: 35px;
    }

    .welcome-img {
        width: 75% !important;
        margin-bottom: 25px !important;
    }
}



@media (max-width:500px) {
    #welcomeMessage {
        font-size: 35px !important;
        line-height: 42px !important;
        text-align: center !important;
        margin-top: 35px;
    }
}

