.gqg-quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Question Image */
.gqg-question-image {
    margin: 20px 0;
    text-align: center;
}

.gqg-question-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Option with Image */
.gqg-option-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.gqg-option-text {
    flex: 1;
}

.gqg-option-image {
    display: block;
    margin-top: 8px;
}

.gqg-option-image img {
    max-width: 200px;
    height: auto;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Quiz Description (SEO Content) */
.gqg-quiz-description {
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e8ef 100%);
    border-left: 4px solid #0073aa;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-out;
}

.gqg-quiz-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.gqg-quiz-description p:last-child {
    margin-bottom: 0;
}

/* Name Screen */
.gqg-name-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gqg-name-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.gqg-name-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}

.gqg-name-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin: 20px 0;
    box-sizing: border-box;
}

.gqg-name-input:focus {
    outline: none;
    border-color: #0073aa;
}

.gqg-start-btn {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.gqg-start-btn:hover {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
}

/* Timer */
.gqg-timer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.gqg-timer.warning {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* Progress Bar */
.gqg-progress {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.gqg-progress-bar {
    height: 100%;
    background: #0073aa;
    transition: width 0.3s;
}

/* Questions */
.gqg-question {
    background: linear-gradient(135deg, #e0f7fa 0%, #e0f2f7 100%); /* Very light cyan/blue background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.gqg-question-number {
    color: #0073aa;
    font-size: 16px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.gqg-question-text {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Multiple Choice Options */
.gqg-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gqg-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #cce7f0; /* Softer blue border */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #ffffff; /* White background to make it stand out */
}

.gqg-option:hover {
    border-color: #87bfff; /* Softer blue border on hover */
    background: #eef7ff; /* Lighter blue background on hover */
}

.gqg-option input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.gqg-option span {
    flex: 1;
    font-size: 16px;
    color: #333;
}

/* Short Answer */
.gqg-short-answer {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 3px solid #0073aa; /* Darker, more distinct blue border */
    border-radius: 6px;
    box-sizing: border-box;
    background: #ffffff; /* White background */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* More pronounced shadow */
    transition: all 0.3s ease; /* Smooth transition for hover/focus */
}

.gqg-short-answer:focus {
    outline: none;
    border-color: #005a87; /* Even stronger blue border on focus */
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.4); /* Larger, more opaque blue shadow on focus */
}

/* Matching Questions */
.gqg-matching-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gqg-matching-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
    padding: 12px;
    background: #ffffff; /* White background to make it stand out */
    border-radius: 8px;
    border: 2px solid #cce7f0; /* Softer blue border */
}

.gqg-matching-left {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gqg-matching-image {
    display: flex;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.gqg-matching-image img {
    max-width: 150px;
    max-height: 120px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.gqg-matching-text {
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.gqg-matching-select select {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 2px solid #cce7f0; /* Softer blue border */
    border-radius: 6px;
    background: #ffffff; /* White background */
    cursor: pointer;
    transition: border-color 0.3s;
}

.gqg-matching-select select:focus {
    outline: none;
    border-color: #87bfff; /* Softer blue border on focus */
}

.gqg-matching-select select:hover {
    border-color: #87bfff; /* Softer blue border on hover */
}

.gqg-matching-right-preview {
    text-align: center;
    padding: 8px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Navigation */
.gqg-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 25px;
}

.gqg-prev-btn,
.gqg-next-btn,
.gqg-submit-btn {
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.gqg-prev-btn {
    background: #6c757d;
    color: #fff;
}

.gqg-prev-btn:hover {
    background: #5a6268;
}

.gqg-next-btn {
    background: #0073aa;
    color: #fff;
}

.gqg-next-btn:hover {
    background: #005a87;
}

.gqg-submit-btn {
    background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%); /* Softer green gradient */
    color: #fff;
    font-weight: 600;
}

.gqg-submit-btn:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%); /* Darker on hover */
}

.gqg-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Result Screen */
.gqg-result-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gqg-result-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
}

.gqg-result-box h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 28px;
    color: #333;
}

.gqg-score {
    margin-bottom: 30px;
}

.gqg-score-intro {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    animation: fadeIn 0.5s ease-out;
}

.gqg-score-intro p {
    font-size: 18px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.gqg-score-intro strong {
    color: #0073aa;
    font-weight: 600;
}

.gqg-score-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideUp 0.5s ease-out;
}

.gqg-score-card.excellent {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.gqg-score-card.good {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gqg-score-card.average {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gqg-score-card.needs-improvement {
    background: linear-gradient(135deg, #fc6076 0%, #ff9a44 100%);
}

.gqg-score-emoji {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 1s ease-in-out;
}

.gqg-user-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.95;
}

.gqg-score-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.gqg-score-number {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
}

.gqg-score-divider {
    font-size: 48px;
    font-weight: 300;
    opacity: 0.7;
}

.gqg-score-total {
    font-size: 48px;
    font-weight: 300;
    opacity: 0.9;
}

.gqg-score-label {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 10px;
}

.gqg-score-percentage {
    font-size: 16px;
    opacity: 0.8;
}

.gqg-score-detail {
    font-size: 16px;
    opacity: 0.85;
    margin-top: 5px;
}

.gqg-motivational-quote {
    font-size: 18px;
    font-style: italic;
    margin-top: 20px;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.5;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.gqg-details {
    margin-bottom: 30px;
    text-align: left;
    /* NEW: Brighter background for the entire details section */
    background: #f0f8ff; /* Light blue background */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gqg-review-header h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.gqg-review-note {
    padding: 20px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 10px;
    color: #1976d2;
    text-align: center;
    font-size: 16px;
}

.gqg-detail-item {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    border-left: 5px solid #ddd;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.gqg-detail-item:hover {
    transform: translateX(5px);
}

.gqg-detail-item.correct {
    /* NEW: Brighter green gradient */
    background: linear-gradient(90deg, #f0fff5 0%, #e6fff0 100%);
    border-left-color: #66bb6a;
}

.gqg-detail-item.incorrect {
    /* NEW: Brighter red gradient */
    background: linear-gradient(90deg, #fff0f0 0%, #ffe6e6 100%);
    border-left-color: #ef5350;
}

.gqg-detail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.gqg-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
}

.gqg-detail-item.correct .gqg-detail-icon {
    background: #66bb6a;
    color: white;
}

.gqg-detail-item.incorrect .gqg-detail-icon {
    background: #ef5350;
    color: white;
}

.gqg-detail-number {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.gqg-detail-question {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.gqg-detail-answer {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

.gqg-detail-correct {
    font-size: 15px;
    color: #66bb6a;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.gqg-detail-explanation {
    font-size: 14px;
    color: #42a5f5;
    background: #eef7ff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 3px solid #87bfff;
    line-height: 1.6;
}

.gqg-detail-explanation strong {
    color: #2196f3;
}


.gqg-result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.gqg-retry-btn,
.gqg-download-pdf-btn,
.gqg-share-btn { /* NEW: Add .gqg-share-btn to general styling */
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%); /* Softer blue gradient */
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gqg-retry-btn:hover {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

.gqg-download-pdf-btn {
    background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%); /* Softer green gradient */
}

.gqg-download-pdf-btn:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
}

.gqg-download-pdf-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* NEW: Specific styles for social share buttons */
.gqg-share-facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.gqg-share-facebook:hover {
    background: linear-gradient(135deg, #2d4373 0%, #1c2a4a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 89, 152, 0.3);
}

.gqg-share-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.gqg-share-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.gqg-btn-icon {
    font-size: 18px;
}

/* Instant Feedback */
.gqg-instant-feedback {
    margin-top: 15px;
    animation: fadeInUp 0.3s ease-out;
}

.gqg-feedback-correct,
.gqg-feedback-incorrect {
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.gqg-feedback-correct {
    background: linear-gradient(90deg, #e6fff0 0%, #d4fce6 100%); /* Softer green gradient */
    border-left: 4px solid #66bb6a; /* Softer green border */
    color: #388e3c; /* Softer green text */
}

.gqg-feedback-incorrect {
    background: linear-gradient(90deg, #fff0f0 0%, #ffe6e6 100%); /* Softer red gradient */
    border-left: 4px solid #ef5350; /* Softer red border */
    color: #d32f2f; /* Softer red text */
}

.gqg-feedback-icon {
    font-size: 20px;
    font-weight: bold;
}

.gqg-feedback-text {
    flex: 1;
}

.gqg-feedback-explanation {
    margin-top: 10px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-left: 3px solid #007bff;
    border-radius: 6px;
    color: #495057;
    font-size: 14px;
    line-height: 1.6;
}

.gqg-feedback-explanation strong {
    color: #007bff;
    display: block;
    margin-bottom: 5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Drag and Drop Matching */
.gqg-matching-dragdrop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.gqg-matching-left-column,
.gqg-matching-right-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gqg-drop-zone {
    background: #f8faff; /* Very light blue background */
    border: 2px dashed #eef2f7; /* Softer gray dashed border */
    border-radius: 10px;
    padding: 15px;
    min-height: 80px;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    position: relative;
}

.gqg-drop-zone.drag-over {
    background: #eef7ff; /* Softer blue on drag over */
    border-color: #87bfff; /* Softer blue border on drag over */
    transform: scale(1.02);
}

.gqg-left-item {
    margin-bottom: 12px;
    font-weight: 500;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gqg-drop-area {
    min-height: 50px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
}

.gqg-drop-area.has-item {
    border-color: #98d8b8; /* Softer green border */
    background: #e6fff0; /* Softer green background */
}

.gqg-drop-placeholder {
    color: #999;
    font-size: 14px;
    font-style: italic;
}

.gqg-draggable-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gqg-draggable-item {
    background: #fefefe; /* Very light background */
    border: 2px solid #87bfff; /* Softer blue border */
    border-radius: 8px;
    padding: 12px 16px;
    cursor: grab;
    cursor: -webkit-grab;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Softer shadow */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: element;
    touch-action: none;
    pointer-events: auto;
    position: relative;
}

.gqg-draggable-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(135, 191, 255, 0.2); /* Softer, larger shadow on hover */
}

.gqg-draggable-item:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.gqg-draggable-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.gqg-draggable-item.placed {
    opacity: 0.3;
    pointer-events: none;
    border-color: #ccc;
    background: #f5f5f5;
}

.gqg-dropped-item {
    background: #f0fff5; /* Softer green background */
    border: 2px solid #98d8b8; /* Softer green border */
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    animation: dropIn 0.3s ease-out;
}

.gqg-dropped-item .gqg-remove-item {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s;
}

.gqg-dropped-item .gqg-remove-item:hover {
    background: #c82333;
    transform: scale(1.1);
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Line Connecting Matching (NEW) */
.gqg-matching-lineconnect {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
    padding: 20px;
    background: #f8faff; /* Very light blue background */
    border-radius: 12px;
}

.gqg-line-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gqg-connect-left-column,
.gqg-connect-right-column {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gqg-connect-left,
.gqg-connect-right {
    background: #ffffff; /* White background to make it stand out */
    border: 3px solid #cce7f0; /* Softer blue border */
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Softer shadow */
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.gqg-connect-left:hover,
.gqg-connect-right:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(135, 191, 255, 0.2); /* Softer, larger shadow on hover */
    border-color: #87bfff; /* Softer blue border on hover */
}

.gqg-connect-left.selected,
.gqg-connect-right.selected {
    border-color: #ffd787; /* Softer yellow for selected */
    background: #fffaf0; /* Softer yellow background */
    box-shadow: 0 0 0 3px rgba(255, 215, 135, 0.4); /* Softer yellow shadow */
}

.gqg-connect-left.connected,
.gqg-connect-right.connected {
    border-color: #98d8b8; /* Softer green for connected */
    background: #f0fff5; /* Softer green background */
}

.gqg-connect-left:active,
.gqg-connect-right:active {
    transform: scale(0.98);
}

.gqg-connect-item-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.gqg-connect-item-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Connection Instructions */
.gqg-connection-instructions {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #1565c0;
}

.gqg-connection-instructions strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #0d47a1;
}

.gqg-connection-instructions ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.gqg-connection-instructions li {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .gqg-matching-lineconnect {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .gqg-connect-left-column {
        order: 1;
    }
    
    .gqg-connect-right-column {
        order: 2;
    }
    
    .gqg-connect-left,
    .gqg-connect-right {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .gqg-connect-item-text {
        font-size: 15px;
    }
    
    .gqg-connection-instructions {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .gqg-matching-dragdrop {
        grid-template-columns: 1fr;
    }

    .gqg-matching-right-column {
        order: -1;
        margin-bottom: 20px;
    }
    .gqg-quiz-container {
        padding: 10px;
    }

    .gqg-question {
        padding: 20px;
    }

    .gqg-question-text {
        font-size: 16px;
    }

    .gqg-matching-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gqg-matching-left {
        font-size: 15px;
    }

    .gqg-score-card {
        padding: 30px 20px;
    }

    .gqg-score-number {
        font-size: 56px;
    }

    .gqg-score-total {
        font-size: 36px;
    }

    .gqg-score-divider {
        font-size: 36px;
    }

    .gqg-result-actions {
        flex-direction: column;
    }

    .gqg-retry-btn,
    .gqg-download-pdf-btn,
    .gqg-share-btn { /* NEW: Include share buttons in responsive adjustments */
        width: 100%;
        justify-content: center;
    }
}

/* Question Actions (Submit Answer Button) */
.gqg-question-actions {
    margin-top: 20px;
    text-align: center;
}

.gqg-submit-answer-btn {
    background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%); /* Softer green gradient */
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.gqg-submit-answer-btn:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
}

.gqg-submit-answer-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Locked Question State */
.gqg-question-locked {
    opacity: 0.9;
    background: #f8f9fa;
}

.gqg-question-locked input[type="radio"],
.gqg-question-locked input[type="text"],
.gqg-question-locked select {
    cursor: not-allowed;
}

.gqg-question-locked .gqg-option {
    cursor: not-allowed;
}

/* Question Review Area */
.gqg-question-review {
    margin-top: 20px;
    animation: fadeInUp 0.4s ease-out;
}

.gqg-question-feedback {
    border-radius: 10px;
    overflow: hidden;
}

.gqg-user-answer-display {
    margin-top: 12px;
    padding: 12px 16px;
    background: #eef7ff; /* Softer blue background */
    border-left: 4px solid #87bfff; /* Softer blue border */
    border-radius: 6px;
    font-size: 15px;
    color: #42a5f5; /* Softer blue text */
}

.gqg-user-answer-display strong {
    color: #2196f3; /* Darker blue for strong text */
    display: block;
    margin-bottom: 5px;
}

/* Final Submit Button */
.gqg-final-submit {
    width: 100%;
    background: linear-gradient(135deg, #ef5350 0%, #e53935 100%); /* Softer red gradient */
    color: #fff;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.gqg-final-submit:hover {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 83, 80, 0.4);
}

.gqg-final-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Styles for Material Viewer */
.gqg-material-viewer-screen {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

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

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

.gqg-material-header p {
    font-size: 16px;
    color: #666;
}

.gqg-youtube-player,
.gqg-pdf-viewer {
    margin-bottom: 30px;
    padding: 15px;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.gqg-youtube-player h3,
.gqg-pdf-viewer h3 {
    margin-top: 0;
    font-size: 18px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.gqg-youtube-player iframe,
.gqg-pdf-viewer iframe {
    display: block; /* Remove extra space below iframe */
    width: 100%;
}

.gqg-pdf-download-link {
    text-align: center;
    padding: 15px 0;
}

.gqg-pdf-download-link .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
}

.gqg-pdf-download-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.gqg-material-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.gqg-name-input-wrapper {
    margin-bottom: 20px;
}

.gqg-name-input-wrapper label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.gqg-name-input-wrapper .gqg-name-input {
    width: 100%;
    max-width: 350px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

.gqg-name-input-wrapper .gqg-name-input:focus {
    outline: none;
    border-color: #0073aa;
}

/* Updated style for the start quiz button */
.gqg-material-footer .gqg-start-quiz-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Brighter blue gradient */
    color: #fff;
    border: none; /* Ensure no border from other styles */
    padding: 15px 35px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.gqg-material-footer .gqg-start-quiz-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003f7f 100%); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.gqg-material-footer .gqg-start-quiz-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gqg-material-viewer-screen {
        padding: 20px;
    }
    .gqg-material-header h1 {
        font-size: 24px;
    }
    .gqg-youtube-player iframe {
        height: 250px;
    }
    .gqg-pdf-viewer iframe {
        height: 400px;
    }
    .gqg-name-input-wrapper .gqg-name-input {
        max-width: 100%;
    }
    .gqg-material-footer .gqg-start-quiz-btn {
        width: 100%;
        font-size: 16px;
        padding: 12px 25px;
    }
}