/* Pharma Quiz Master Public Styles */
.pharma-quiz-user-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: #7f8c8d;
    font-size: 18px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    background: #3498db;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.stat-content h3 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
}

.stat-content p {
    margin: 5px 0 0 0;
    color: #7f8c8d;
    font-weight: 500;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.content-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.recent-attempts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.attempt-item {
    padding: 15px;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.attempt-item:hover {
    background: #f8f9fa;
}

.attempt-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.attempt-info strong {
    color: #2c3e50;
}

.attempt-score {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.attempt-meta {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 14px;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    text-align: center;
}

.action-button:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.action-button.primary {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.action-button.primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    color: white;
}

.action-button .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.available-quizzes-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.available-quizzes-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.quizzes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.quiz-card {
    border: 1px solid #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

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

.quiz-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #ecf0f1;
}

.quiz-type-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.quiz-type-daily {
    background: #ffeaa7;
    color: #e17055;
}

.quiz-type-subject {
    background: #a29bfe;
    color: white;
}

.quiz-type-exam {
    background: #fd79a8;
    color: white;
}

.quiz-type-custom {
    background: #74b9ff;
    color: white;
}

.premium-badge {
    background: #fdcb6e;
    color: #2d3436;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.quiz-card-body {
    padding: 20px;
}

.quiz-card-body h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
}

.quiz-description {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.quiz-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #7f8c8d;
    font-size: 14px;
}

.meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.quiz-subject, .quiz-exam {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.quiz-card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-stats {
    display: flex;
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    font-size: 16px;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
}

.quiz-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.button.primary {
    background: #3498db;
    color: white;
}

.button.primary:hover {
    background: #2980b9;
}

.button.secondary {
    background: #95a5a6;
    color: white;
}

.button.secondary:hover {
    background: #7f8c8d;
}

.button.small {
    padding: 6px 12px;
    font-size: 14px;
}

.premium-lock {
    color: #e74c3c;
    font-size: 12px;
    font-weight: bold;
}

/* Quiz Interface Styles */
.pharma-quiz-interface {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.quiz-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 30px;
}

.quiz-header h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.quiz-progress {
    max-width: 500px;
    margin: 0 auto;
}

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

.progress-fill {
    background: #27ae60;
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #7f8c8d;
    font-size: 14px;
}

.quiz-timer {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
}

.timer-circle {
    position: relative;
    width: 60px;
    height: 60px;
}

.timer-svg {
    transform: rotate(-90deg);
}

.timer-circle-bg {
    fill: none;
    stroke: #ecf0f1;
    stroke-width: 3;
}

.timer-circle-fill {
    fill: none;
    stroke: #e74c3c;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1s linear;
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    color: #2c3e50;
}

.quiz-questions-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.question-container {
    display: none;
}

.question-container.active {
    display: block;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.question-header h3 {
    margin: 0;
    color: #2c3e50;
}

.question-marks {
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.question-content {
    margin-bottom: 30px;
}

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

.question-image {
    margin: 20px 0;
    text-align: center;
}

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

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.option-item:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.option-item input {
    margin-right: 12px;
}

.option-text {
    font-size: 16px;
    color: #2c3e50;
}

.question-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.navigation-buttons {
    display: flex;
    gap: 10px;
}

.bookmark-btn .dashicons {
    margin-right: 5px;
}

.quiz-sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.questions-nav h4, .quiz-summary h4 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 10px;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.question-nav-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #7f8c8d;
}

.question-nav-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.question-nav-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.question-nav-btn.answered {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
}

.question-nav-btn.bookmarked {
    background: #f39c12;
    border-color: #f39c12;
    color: white;
}

.quiz-summary .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.quiz-summary .summary-item:last-child {
    border-bottom: none;
}

/* Quiz Results Styles */
.pharma-quiz-results {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.score-circle {
    flex-shrink: 0;
}

.circle-chart {
    width: 150px;
    height: 150px;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #ecf0f1;
    stroke-width: 3;
}

.circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.percentage {
    fill: #2c3e50;
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: bold;
}

.results-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 14px;
}

.results-details {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.results-details h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 15px;
}

.questions-review {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-review {
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.question-review.correct {
    border-left: 4px solid #27ae60;
}

.question-review.incorrect {
    border-left: 4px solid #e74c3c;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.question-number {
    font-weight: bold;
    color: #2c3e50;
}

.question-status .status-correct {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.question-status .status-incorrect {
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.question-marks {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.answer-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 15px 0;
}

.your-answer, .correct-answer {
    padding: 15px;
    border-radius: 8px;
}

.your-answer {
    background: #ffebee;
    border: 1px solid #ffcdd2;
}

.correct-answer {
    background: #e8f5e8;
    border: 1px solid #c8e6c9;
}

.explanation {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.explanation strong {
    color: #1976d2;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.performance-insights {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.performance-insights h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 15px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.insight-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.insight-card h4 {
    margin: 0 0 10px 0;
    color: #7f8c8d;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.insight-value {
    font-size: 32px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 10px;
}

.insight-card p {
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
}

/* Leaderboard Styles */
.pharma-quiz-leaderboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.leaderboard-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 30px;
}

.leaderboard-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.leaderboard-filter {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.leaderboard-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.top-three {
    margin-bottom: 40px;
}

.podium {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.podium-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.podium-item.first {
    order: 2;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    transform: scale(1.1);
}

.podium-item.second {
    order: 1;
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.podium-item.third {
    order: 3;
    background: linear-gradient(135deg, #cd7f32, #e8a85c);
}

.rank {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.user-avatar img {
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.user-info h4 {
    margin: 10px 0 5px 0;
    color: #2c3e50;
}

.user-info p {
    margin: 0;
    color: #7f8c8d;
    font-weight: 500;
}

.leaderboard-list {
    margin-top: 30px;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #ecf0f1;
}

.leaderboard-table td {
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.leaderboard-table tr.current-user {
    background: #e3f2fd;
    font-weight: bold;
}

.leaderboard-table tr:hover {
    background: #f8f9fa;
}

.rank-cell .rank-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

.user-cell .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-cell .user-info img {
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.you-badge {
    background: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-top: 2px;
}

.accuracy-bar {
    background: #ecf0f1;
    border-radius: 10px;
    height: 8px;
    position: relative;
    overflow: hidden;
}

.accuracy-fill {
    background: #27ae60;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.accuracy-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: bold;
    color: #2c3e50;
}

.xp-badge {
    background: #9b59b6;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.leaderboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 10px;
}

.user-rank-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
}

.rank-number {
    font-size: 32px;
    font-weight: bold;
    color: #3498db;
    min-width: 60px;
    text-align: center;
}

.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item span {
    color: #7f8c8d;
}

.stat-item strong {
    color: #2c3e50;
}

/* Modal Styles */
.pharma-quiz-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    margin-top: 0;
    color: #2c3e50;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Available Quizzes Styles */
.pharma-quiz-available {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.quizzes-header {
    text-align: center;
    margin-bottom: 40px;
}

.quizzes-header h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.quizzes-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quizzes-filters select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    min-width: 150px;
}

.no-quizzes {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 18px;
}

/* Login Required Message */
.pharma-quiz-login-required {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 40px auto;
}

.pharma-quiz-login-required p {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.pharma-quiz-login-required a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.pharma-quiz-login-required a:hover {
    text-decoration: underline;
}

/* Error Messages */
.pharma-quiz-error {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
    
    .quizzes-grid {
        grid-template-columns: 1fr;
    }
    
    .pharma-quiz-interface {
        grid-template-columns: 1fr;
    }
    
    .quiz-timer {
        position: static;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }
    
    .quiz-sidebar {
        position: static;
        order: -1;
    }
    
    .pharma-quiz-leaderboard {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-sidebar {
        order: -1;
    }
    
    .podium {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .podium-item {
        order: 0 !important;
        transform: none !important;
    }
    
    .results-overview {
        flex-direction: column;
        gap: 30px;
    }
    
    .results-stats {
        justify-content: center;
    }
    
    .answer-comparison {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation for correct/incorrect answers */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.correct-pulse {
    animation: pulse 0.5s ease;
}

.incorrect-pulse {
    animation: pulse 0.5s ease;
}