body {
    min-height: calc(100vh - 93px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quiz-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-inline: auto;
    width: 100%;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.quiz-header {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-container .quiz-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    background: #059E8A;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 14.28%;
}

.step-indicator {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-step .question-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.quiz-label {
    display: block;
    color: #555;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.quiz-input,
.quiz-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.quiz-input:focus,
.quiz-textarea:focus {
    outline: none;
    border-color: #059E8A;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #059E8A;
    background: rgba(102, 126, 234, 0.05);
}

.radio-option .quiz-radio {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-option.selected {
    border-color: #059E8A;
    background: rgba(102, 126, 234, 0.1);
}

.radio-option .quiz-label {
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.quiz-textarea {
    min-height: 100px;
    resize: vertical;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.quiz-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-btn-prev {
    background: #f5f5f5;
    color: #666;
}

.quiz-btn-prev:hover {
    background: #e0e0e0;
}

.quiz-btn-next,
.quiz-btn-submit {
    background: #059E8A;
    color: white;
}

.quiz-btn-next:hover,
.quiz-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.result-message {
    padding: 40px;
    display: none;
}

.result-message.qualified {
    color: #27ae60;
}

.result-message.not-qualified {
    color: #e74c3c;
}

.result-message h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.result-message p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #059E8A;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .quiz-container {
        padding: 30px 20px;
    }

    .quiz-container .quiz-header h1 {
        font-size: 24px;
    }

    .quiz-step .question-title {
        font-size: 18px;
    }
}

/* -================================================ */
/* admin panel styles for display quiz data  */
#leads-table_filter {
    display: flex;
    align-items: center;
    gap: 30px;
}

.dataTables_length{
    margin-right: 20px;
}
.dataTables_length select {
    padding-inline: 10px 30px !important;
}

#leads-table_wrapper {
    margin-top: 20px;
}

#prequalify-filter-wrapper{
    display: inline-block;
    margin-top: 4px;
}