/* General Wrapper */
.smartq-quiz-wrapper {
    max-width: 720px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', 'Open Sans', sans-serif;
    color: #2d3748;
}

/* Header */
.smartq-header {
    text-align: center;
    margin-bottom: 30px;
}
.smartq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2b6cb0;
}
.smartq-subtitle {
    color: #4a5568;
    font-size: 1rem;
}

/* Form Groups */
.smartq-form-group {
    margin-bottom: 20px;
}
.smartq-form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}
.smartq-form-group input[type="text"],
.smartq-form-group input[type="number"],
.smartq-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.smartq-form-group input:focus,
.smartq-form-group select:focus {
    border-color: #3182ce;
    outline: none;
}

/* Buttons */
.smartq-btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.smartq-btn-primary {
    background-color: #2b6cb0;
    color: #ffffff;
}
.smartq-btn-primary:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
}
.smartq-btn-secondary {
    background-color: #edf2f7;
    color: #2b6cb0;
}
.smartq-btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

/* Progress Bar */
.smartq-progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}
.smartq-progress {
    height: 100%;
    width: 0%;
    background-color: #48bb78;
    transition: width 0.4s ease;
}

/* Quiz Card */
.smartq-question-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    animation: fadeIn 0.5s ease;
}
.smartq-question-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #2d3748;
}
.smartq-option {
    display: block;
    padding: 10px 12px;
    margin: 5px 0;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.smartq-option:hover {
    background: #ebf8ff;
    border-color: #3182ce;
}
.smartq-option input[type="radio"] {
    margin-right: 10px;
}

/* Result Screen */
.smartq-result-container {
    text-align: center;
    background: #f0fff4;
    border: 2px solid #38a169;
    border-radius: 10px;
    padding: 30px;
    animation: fadeIn 0.5s ease;
}
.smartq-result-title {
    color: #38a169;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.smartq-score {
    font-size: 1.25rem;
    color: #2f855a;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
    .smartq-quiz-wrapper {
        padding: 15px;
    }
    .smartq-title {
        font-size: 1.5rem;
    }
    .smartq-btn {
        width: 100%;
        text-align: center;
    }
	
	.smartq-report-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f7fafc;
}
.smartq-correct {
    border-left: 5px solid #38a169;
}
.smartq-wrong {
    border-left: 5px solid #e53e3e;
}
.smartq-report-option {
    padding: 8px 10px;
    border-radius: 5px;
    margin: 5px 0;
    border: 1px solid #cbd5e0;
}
.smartq-correct-answer {
    background: #f0fff4;
    border-color: #38a169;
    color: #2f855a;
}
.smartq-user-wrong {
    background: #fff5f5;
    border-color: #e53e3e;
    color: #c53030;
}
.smartq-score-summary {
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.smartq-final-score {
    text-align: center;
    font-size: 1.5rem;
    color: #2b6cb0;
    margin-top: 20px;
}

}


/* Start Screen Enhancements */
.smartq-start-header {
    text-align: center;
    margin-bottom: 25px;
}
.smartq-start-header h2 {
    font-size: 2rem;
    color: #2b6cb0;
    margin-bottom: 10px;
}
.smartq-start-header p {
    font-size: 1rem;
    color: #4a5568;
}

.smartq-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.smartq-form-group {
    display: flex;
    flex-direction: column;
}
.smartq-start-btn {
    display: block;
    margin: 30px auto 0 auto;
    font-size: 1.2rem;
    padding: 14px 30px;
}

@media (max-width: 600px) {
    .smartq-form-grid {
        grid-template-columns: 1fr;
    }
}
