/* QSM Pro Navigation Styles */
.qsm-pro-navigation-wrapper {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 20px 0;
}

.qsm-nav-header {
    background: #2c5f7c;
    color: white;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qsm-timer-display {
    font-size: 16px;
    font-weight: 700;
}

.qsm-nav-user {
    background: white;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
    color: #333;
}

.qsm-nav-stats {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    flex-wrap: wrap;
}

.qsm-stat-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    background: white;
    border: 1px solid #ddd;
}

.qsm-stat-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
	    font-weight: 600;
    font-size: 11px;
}

.qsm-circle-answered { background: #28a745; }
.qsm-circle-marked { background: #9c27b0; }
.qsm-circle-not-visited { background: #EFD4FF; }
.qsm-circle-not-answered { background: #dc3545; }
.qsm-circle-marked-answered { background: #9c27b0; }

.qsm-nav-section {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.qsm-section-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 600;
}

.qsm-question-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.qsm-question-btn {
    aspect-ratio: 1;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
	color: #dc3545;
}

.qsm-question-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.qsm-question-btn.answered {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.qsm-question-btn.marked {
    background: #9c27b0;
    color: white;
    border-color: #9c27b0;
}

.qsm-question-btn.not-answered {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.qsm-question-btn.active {
    border: 3px solid #ff9800;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

.qsm-nav-actions {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.qsm-action-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.qsm-mark-btn {
    background: #ff9800;
    color: white;
}

.qsm-clear-btn {
    background: #6c757d;
    color: white;
}

.qsm-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .qsm-question-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .qsm-question-btn {
        font-size: 12px;
    }
    
    .qsm-nav-stats {
        gap: 6px;
    }
    
    .qsm-stat-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .qsm-question-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .qsm-nav-actions {
        flex-direction: column;
    }
}