#custom-quiz-container {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 20px auto;
}
.quiz-opt-btn {
    display: block;
    width: 100%;
    background: #7c12f3;
    color: white;
    border: none;
    padding: 12px;
    margin: 8px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s ease;
}
.quiz-opt-btn:hover:not(:disabled) {
    background: #5b0bb6;
}
.quiz-opt-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}
#quiz-next-btn {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
}

/* =========================================================================
   deftQuiz TABLE DESIGN (DIVI STYLE ARCHITECTURE)
   ========================================================================= */
.deftQuiz {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    max-width: 700px;
    margin: 30px auto;
    font-family: 'Open Sans', Arial, sans-serif;
}
.deftQuiz h3 {
    font-size: 24px;
    color: #2b2b2b;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.5px;
}
.deftQuiz table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
}
.deftQuiz th {
    background-color: #f8f9fa;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 16px;
    border-bottom: 2px solid #7c12f3;
}
.deftQuiz td {
    color: #444444;
    font-size: 15px;
    padding: 16px;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}
.deftQuiz tr:hover td {
    background-color: #fdfbff; 
    color: #2b2b2b;
    transition: background-color 0.2s ease;
}
.deftQuiz td:first-child {
    font-weight: 600;
}
.deftQuiz td:nth-child(2) {
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    color: #7c12f3;
}
.deftQuiz tr td[colspan="3"] {
    text-align: center;
    color: #888888;
    padding: 30px;
    font-style: italic;
}



.quiz-input-option-row {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 12px 18px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #eef0f2;
    cursor: pointer;
    transition: background 0.2s ease;
}
.quiz-input-option-row:hover {
    background: #f1f3f5;
}
.quiz-input-option-row input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #7c12f3; /* Custom system matching accent color */
}
.quiz-input-option-row label {
    cursor: pointer;
    font-size: 16px;
    color: #333333;
    font-weight: 500;
    width: 100%;
}


/* Styling for Text and Textarea Questions */
.quiz-text-field, .quiz-textarea-field {
    width: 100%;
    padding: 12px;
    border: 2px solid #edf0f5;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.2s ease;
}
.quiz-text-field:focus, .quiz-textarea-field:focus {
    border-color: #7c12f3;
}

/* Matching Questions Layout styling rules grid */
.quiz-match-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 14px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #edf0f5;
}
.quiz-match-left-prompt {
    font-weight: 600;
    color: #444;
}
.quiz-match-dropdown {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    font-size: 14px;
    color: #333;
}


