/* Studyseek Quizer Pro - Frontend Styles */

.sq-quiz-wrapper {
    max-width: 1000px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', -apple-system, sans-serif;
    transition: all 0.3s ease;
}

.sq-quiz-wrapper.dark-mode {
    background: #1e293b;
    color: #e2e8f0;
}

/* Header */
.sq-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #E5E7EB;
}

.dark-mode .sq-header {
    border-bottom-color: #475569;
}

.sq-logo {
    display: inline-block;
    padding: 15px 35px;
    background: #E5E7EB;
    color: #1E3A8A;
    font-size: 20px;
    font-weight: 800;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.sq-title {
    font-size: 32px;
    color: #1E3A8A;
    margin: 15px 0;
    font-weight: 700;
}

.dark-mode .sq-title {
    color: #60a5fa;
}

.sq-description {
    color: #64748b;
    font-size: 16px;
    margin: 10px 0;
}

.sq-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.sq-tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

.sq-date {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 10px;
}

/* Featured Image */
.sq-featured-image {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
}

.sq-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Controls */
.sq-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.sq-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.sq-theme-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sq-lang-toggle {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.sq-btn-primary {
    background: linear-gradient(135deg, #1E3A8A 0%, #3b82f6 100%);
    color: white;
    font-size: 18px;
    padding: 14px 30px;
}

.sq-btn-secondary {
    background: #E5E7EB;
    color: #1E3A8A;
}

.dark-mode .sq-btn-secondary {
    background: #475569;
    color: #e2e8f0;
}

.sq-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 18px;
    padding: 14px 32px;
}

.sq-btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 16px;
    padding: 12px 28px;
}

/* Name Box */
.sq-name-box {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 25px 0;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.15);
}

.dark-mode .sq-name-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.sq-label {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 15px;
}

.dark-mode .sq-label {
    color: #e0f2fe;
}

.sq-input {
    width: 100%;
    max-width: 500px;
    padding: 14px 18px;
    font-size: 17px;
    border: 3px solid #1E3A8A;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.sq-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* Info Bar */
.sq-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    flex-wrap: wrap;
}

.dark-mode .sq-info-bar {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}

.sq-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
}

.dark-mode .sq-timer {
    color: #fde68a;
}

.sq-timer.warning {
    color: #dc2626;
    animation: pulse 1s infinite;
}

.sq-timer-display {
    font-size: 22px;
    font-weight: 800;
}

.sq-progress-box {
    flex: 1;
    min-width: 200px;
}

.sq-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

.dark-mode .sq-progress-text {
    color: #fde68a;
}

.sq-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.sq-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1E3A8A 0%, #3b82f6 100%);
    transition: width 0.5s;
    border-radius: 8px;
}

/* Questions */
.sq-question-card {
    background: #ffffff;
    padding: 20px;
    margin: 18px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.sq-question-card:hover {
    border-color: #1E3A8A;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.dark-mode .sq-question-card {
    background: #334155;
}

.sq-question-number {
    display: inline-block;
    background: linear-gradient(135deg, #1E3A8A 0%, #3b82f6 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sq-question-text {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 12px 0;
    line-height: 1.6;
}

.dark-mode .sq-question-text {
    color: #e2e8f0;
}

.sq-options {
    margin-top: 15px;
}

.sq-option {
    display: block;
    padding: 14px 18px;
    margin: 10px 0;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    color: #1e293b !important;
    font-size: 16px;
    line-height: 1.6;
}

.sq-option:hover {
    border-color: #1E3A8A;
    transform: translateX(5px);
}

.sq-option.selected {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #1E3A8A;
    font-weight: 600;
}

/* Dark Mode - Force White Text on All Elements */
.dark-mode .sq-option {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

/* Maximum specificity for dark mode text */
.sq-quiz-wrapper.dark-mode .sq-option,
.sq-quiz-wrapper.dark-mode label.sq-option,
.sq-quiz-wrapper.dark-mode .sq-option span,
.sq-quiz-wrapper.dark-mode .sq-option *:not(input) {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* Remove any potential overlay/filter */
.dark-mode .sq-option::before,
.dark-mode .sq-option::after {
    display: none !important;
}

/* Ensure radio buttons are visible in dark mode */
.dark-mode .sq-option input[type="radio"] {
    opacity: 1 !important;
    filter: brightness(1.8) !important;
    margin-right: 10px;
}

/* Dark mode hover state */
.dark-mode .sq-option:hover {
    background: #334155 !important;
    border-color: #60a5fa !important;
}

.dark-mode .sq-option.selected {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.sq-option input[type="radio"] {
    margin-right: 10px;
}

/* Pagination */
.sq-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    gap: 15px;
}

.sq-page-info {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}

.dark-mode .sq-page-info {
    color: #cbd5e1;
}

/* Actions */
.sq-quiz-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

/* Result */
.sq-result-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 15px;
    margin-bottom: 25px;
}

.dark-mode .sq-result-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.sq-result-emoji {
    font-size: 70px;
    margin-bottom: 15px;
}

.sq-result-title {
    font-size: 32px;
    font-weight: 800;
    color: #1E3A8A;
    margin: 15px 0;
}

.dark-mode .sq-result-title {
    color: #bfdbfe;
}

.sq-result-score {
    font-size: 42px;
    font-weight: 900;
    color: #1E3A8A;
    margin: 12px 0;
}

.dark-mode .sq-result-score {
    color: #60a5fa;
}

.sq-result-message {
    font-size: 22px;
    font-weight: 600;
    margin: 12px 0;
}

.sq-result-message.great { color: #10b981; }
.sq-result-message.good { color: #f59e0b; }
.sq-result-message.bad { color: #ef4444; }

/* Rating */
.sq-rating-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    text-align: center;
}

.dark-mode .sq-rating-box {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}

.sq-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.sq-star {
    font-size: 35px;
    cursor: pointer;
    transition: all 0.3s;
    filter: grayscale(100%);
}

.sq-star:hover,
.sq-star.active {
    filter: grayscale(0%);
    transform: scale(1.2);
}

/* Action Buttons */
.sq-action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

/* Explanation */
.sq-explanation {
    margin-top: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    color: #78350f;
    font-size: 14px;
    line-height: 1.5;
}

.dark-mode .sq-explanation {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
    color: #fde68a;
}

/* Section Header */
.sq-section-header {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 12px 20px;
    margin: 25px 0 15px 0;
    border-radius: 10px;
    border-left: 5px solid #1E3A8A;
    font-size: 18px;
    font-weight: 700;
    color: #1E3A8A;
}

.dark-mode .sq-section-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #bfdbfe;
}

/* Share Buttons */
.sq-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.sq-share-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sq-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.sq-whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.sq-facebook-btn {
    background: linear-gradient(135deg, #1877f2 0%, #0a5dc2 100%);
}

.sq-btn-download {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    font-size: 16px;
    padding: 12px 28px;
}

/* Review Correct/Incorrect Options */
.sq-option.correct {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    font-weight: 600;
}

.sq-option.incorrect {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
    font-weight: 600;
}

.dark-mode .sq-option.correct {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #a7f3d0;
}

.dark-mode .sq-option.incorrect {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    color: #fecaca;
}

/* Error */
.sq-error {
    padding: 20px;
    background: #fee;
    border: 2px solid #f00;
    border-radius: 10px;
    color: #900;
    text-align: center;
    font-size: 16px;
}

/* Section Display During Quiz */
.sq-section-display {
    text-align: center;
    margin: 25px 0;
    animation: slideDown 0.5s ease;
}

.sq-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    animation: pulse 2s infinite;
}

.sq-section-icon {
    font-size: 28px;
    margin-right: 10px;
    animation: bounce 1s infinite;
}

.sq-section-name {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sq-section-icon-inline {
    font-size: 24px;
    margin-right: 8px;
}

/* Social Share Section */
.sq-share-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 2px solid #3b82f6;
    animation: fadeIn 0.8s ease;
}

.sq-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.sq-share-btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white !important;
    position: relative;
    overflow: hidden;
}

.sq-share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.sq-share-btn:hover::before {
    width: 300px;
    height: 300px;
}

.sq-whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.sq-facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0A66C2 100%);
}

.sq-twitter-btn {
    background: linear-gradient(135deg, #000000 0%, #14171A 100%);
}

.sq-email-btn {
    background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
}

.sq-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.sq-share-btn:active {
    transform: translateY(-1px);
}

/* Download Section */
.sq-download-section {
    text-align: center;
    margin: 30px 0;
    animation: fadeIn 1s ease;
}

/* Certificate Section */
.sq-certificate-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 2px solid #f59e0b;
    animation: fadeIn 1s ease;
}

.sq-btn-certificate {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sq-btn-certificate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.sq-btn-certificate:hover::before {
    width: 400px;
    height: 400px;
}

.sq-btn-certificate:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6);
}

.sq-btn-certificate:active {
    transform: translateY(0) scale(1);
}

.sq-btn-download {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sq-btn-download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.sq-btn-download:hover::before {
    width: 400px;
    height: 400px;
}

.sq-btn-download:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6);
}

.sq-btn-download:active {
    transform: translateY(0) scale(1);
}

.sq-btn-download:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer Copyright */
.sq-footer-copyright {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 3px solid #e5e7eb;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0 0 20px 20px;
}

.sq-footer-copyright p {
    margin: 8px 0;
    color: #6b7280;
    font-size: 14px;
}

.sq-footer-copyright strong {
    color: #1E3A8A;
    font-weight: 700;
}

.sq-footer-copyright a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.sq-footer-copyright a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 12px 30px rgba(139, 92, 246, 0.6); 
    }
}

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

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: scale(1);
    }
}

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

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.8); }
}

/* Improved Question Card Animation */
.sq-question-card {
    animation: fadeInUp 0.5s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sq-question-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Improved Button Hover Effects */
.sq-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sq-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.sq-btn:hover::before {
    width: 300px;
    height: 300px;
}

.sq-btn:active {
    transform: scale(0.95);
}

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

/* Certificate Button Special Animation */
.sq-btn-certificate {
    animation: pulse 2s infinite;
}

.sq-btn-certificate:hover {
    animation: none;
    transform: translateY(-3px) scale(1.05);
}

/* Option Selection Animation */
.sq-option {
    transition: all 0.3s ease;
    position: relative;
}

.sq-option::before {
    content: '👉';
    position: absolute;
    left: -30px;
    opacity: 0;
    transition: all 0.3s ease;
}

.sq-option:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.sq-option:hover::before {
    opacity: 1;
    left: -25px;
}

.sq-option.selected {
    animation: glow 1.5s ease infinite;
}

/* Progress Bar Animation */
.sq-progress-fill {
    transition: width 0.5s ease, background 0.3s ease;
    animation: shimmer 2s linear infinite;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
    background-size: 200% 100%;
}

/* Result Screen Animations */
.sq-result-header {
    animation: fadeInUp 0.6s ease;
}

.sq-result-emoji {
    animation: bounce 1s ease infinite;
    display: inline-block;
}

/* Star Rating Hover Effect */
.sq-star {
    transition: all 0.2s ease;
    display: inline-block;
}

.sq-star:hover {
    transform: scale(1.3) rotate(15deg);
    filter: brightness(1.2);
}

.sq-star.active {
    animation: bounce 0.5s ease;
}

/* Section Badge Animation */
.sq-section-badge {
    animation: fadeIn 0.5s ease, pulse 3s ease infinite;
}

/* Timer Pulse When Low */
.sq-timer.warning {
    animation: shake 0.5s ease, glow 1s ease infinite;
    color: #ef4444 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sq-quiz-wrapper {
        padding: 15px;
        margin: 15px auto;
    }
    
    .sq-logo {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .sq-title {
        font-size: 24px;
    }
    
    .sq-info-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .sq-pagination {
        flex-direction: column;
    }
    
    .sq-quiz-actions,
    .sq-action-buttons {
        flex-direction: column;
    }
    
    .sq-btn {
        width: 100%;
    }
}